-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 1.38 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
{
"scripts": {
"lint": "eslint --fix **/*.js",
"format": "prettier --write **/*.html **/*.json",
"compile-grammar": "nearleyc src/grammar.ne -o src/grammar.js",
"test": "babel-node spec/run.js",
"testmon": "npx nodemon node_modules/@babel/node/lib/babel-node.js spec/run.js",
"coverage": "nyc npx npm test",
"build": "build.bat"
},
"nodemonConfig": {
"watch": [
"*.*",
"src/grammar.ne"
],
"ignore": "src/grammar.js"
},
"nyc": {
"exclude": "public/grammar.js",
"statements": 80,
"branches": 60,
"functions": 80,
"lines": 80,
"skip-empty": true,
"skip-full": true
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"test-coverage.bat"
],
"**/*.json": "prettier --write",
"public/*.html": "prettier --write"
},
"devDependencies": {
"@babel/core": "^7.13.16",
"@babel/node": "^7.13.13",
"@babel/preset-env": "^7.13.15",
"adm-zip": "^0.5.4",
"babel-loader": "^8.2.2",
"eslint": "^7.20.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"getopts": "^2.3.0",
"husky": "^4.3.8",
"jasmine": "^3.6.4",
"jsdom": "^16.5.1",
"lint-staged": "^10.5.4",
"nodemon": "^2.0.7",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"webpack": "^5.35.1",
"webpack-cli": "^4.6.0"
},
"dependencies": {
"crx-hotreload": "^1.0.6",
"nearley": "^2.20.1"
}
}