forked from inikulin/parse5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
37 lines (37 loc) · 1.4 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
{
"name": "parse5-build-scripts",
"private": true,
"devDependencies": {
"dedent": "^0.7.0",
"eslint": "^4.19.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-prettier": "^2.6.0",
"husky": "^0.14.3",
"lerna": "^3.1.0",
"lint-staged": "^7.2.0",
"mocha": "^5.1.1",
"prettier": "^1.12.0",
"r2": "^2.0.1"
},
"scripts": {
"bootstrap": "lerna bootstrap",
"lint": "eslint .",
"unit-tests": "mocha --ui exports --reporter progress --timeout 20000 packages/**/test/*.test.js",
"test": "npm run lint && npm run unit-tests",
"generate-feedback-tests": "node scripts/generate-parser-feedback-test test/data/html5lib-tests/tree-construction/*.dat test/data/tree-construction-regression/*.dat",
"generate-named-entity-data": "node scripts/generate-named-entity-data",
"bench-perf": "cd bench && npm install && node perf/index.js",
"bench-memory-named-entities": "cd bench && npm install && node memory/named-entity-data.js",
"bench-memory-sax": "cd bench && npm install && node memory/sax-parser.js",
"postinstall": "npm run bootstrap",
"preversion": "npm test",
"precommit": "lint-staged",
"publish": "lerna publish"
},
"lint-staged": {
"*.{js,json}": [
"prettier --write",
"git add"
]
}
}