-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
133 lines (133 loc) · 3.17 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "marko-tester",
"version": "9.6.4",
"description": "Assist Marko components testing using Jest.",
"repository": {
"type": "git",
"url": "[email protected]:oxala/marko-tester.git"
},
"main": "./src",
"scripts": {
"lint": "eslint src tests",
"test": "jest --no-cache",
"pretest:legacy": "yarn upgrade marko@^3 marko-widgets@^6 --no-lockfile",
"test:legacy": "yarn test --roots ./tests/marko3 ./tests/common --coverageDirectory ./coverage/marko3",
"posttest:legacy": "git checkout package.json && yarn",
"coverage": "yarn test --ci --coverage && yarn test:legacy --coverage",
"postcoverage": "istanbul report --dir ./coverage/final --include './coverage/marko*/coverage-final.json' json lcov",
"clean": "markoc . --clean && rm -rf coverage",
"prepush": "yarn lint && yarn test && yarn test:legacy",
"commitmsg": "commitlint -e",
"release": "semantic-release"
},
"keywords": [
"marko",
"test",
"tester",
"marko-tester",
"coverage",
"jest",
"unit",
"component"
],
"author": "Gleb Ryshkov",
"license": "MIT",
"dependencies": {
"glob": "^7.1.3",
"just-clone": "^3.1.0",
"stack-trace": "0.0.9"
},
"devDependencies": {
"@commitlint/cli": "^7.1.2",
"@commitlint/config-conventional": "^7.1.2",
"@lasso/marko-taglib": "^1.0.12",
"@marko-tags/subscribe": "^0.2.0",
"@semantic-release/changelog": "^3.0.0",
"@semantic-release/git": "^7.0.3",
"eslint": "^5.6.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^21.22.0",
"husky": "^0.14.3",
"istanbul": "^0.4.5",
"jest": "^23.6.0",
"marko": "^4.16.15",
"marko-widgets": "^7",
"semantic-release": "^15.9.16"
},
"peerDependencies": {
"jest": "^23",
"marko": "^4.13"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"release": {
"prepare": [
{
"path": "@semantic-release/changelog",
"changelogFile": "CHANGELOG.md"
},
"@semantic-release/npm",
"@semantic-release/git"
],
"publish": [
"@semantic-release/npm",
"@semantic-release/github"
],
"assets": [
"CHANGELOG.md",
"package.json"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"jest": {
"rootDir": "./",
"coverageDirectory": "./coverage/marko4",
"roots": [
"./tests/marko4",
"./tests/common"
],
"transform": {
"\\.marko$": "./preprocessor.js"
},
"transformIgnorePatterns": [],
"testRegex": ".*\\.spec\\.(js)$",
"moduleDirectories": [
"node_modules"
],
"globals": {
"tester": {
"taglibs": [
"./tests/taglib",
"@marko-tags/subscribe"
]
}
},
"moduleFileExtensions": [
"js",
"json",
"marko"
],
"collectCoverageFrom": [
"src/**/*.{js}",
"src/**/*.{marko}",
"!test/**",
"!**/node_modules/**"
]
},
"eslintConfig": {
"extends": "airbnb-base",
"plugins": [
"jest"
],
"env": {
"browser": true,
"jest/globals": true
}
}
}