-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
103 lines (103 loc) · 2.89 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
{
"name": "seafox",
"version": "1.7.1",
"description": "A blazing fast 100% spec compliant, self-hosted javascript parser written in Typescript",
"main": "dist/seafox.umd.min.js",
"module": "dist/seafox.esm.min.js",
"jsnext:main": "dist/seafox.esm.min.js",
"browser": "dist/seafox.umd.min.js",
"types": "dist/seafox.d.ts",
"typings": "dist/seafox.d.ts",
"author": "KFlash",
"license": "ISC",
"homepage": "https://github.com/kflash/seafox",
"repository": {
"type": "git",
"url": "https://github.com/kflash/seafox"
},
"bugs": {
"url": "https://github.com/kflash/seafox/issues"
},
"keywords": [
"parsing",
"ecmascript",
"javascript",
"parser",
"estree",
"es2015",
"es2016",
"es2017",
"es2018",
"es2019",
"es2020",
"esnext",
"performance",
"acorn",
"lexer",
"ast",
"lightweight"
],
"files": [
"dist/*.min.js",
"dist/**/*.d.ts",
"README.md",
"LICENSE.md"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsc",
"build:watch": "tsc -w",
"lint": "eslint \"{src,test,scripts}/**/*.{ts,js}\" --fix",
"prettier": "node ./scripts/prettier.js write-changed",
"prettier-all": "node ./scripts/prettier.js write",
"bundle": "cross-env rimraf dist && node scripts/bundle.js",
"bundle:bench": "cross-env rimraf dist && node scripts/bundle.js bench",
"test": "mocha \"test/**/*.ts\"",
"test:single": "mocha",
"test:watch": "npm run test -- --watch --watch-extensions ts",
"test:verbose": "npm run test -- -R spec",
"test:watch:verbose": "npm run test:watch -- -R spec",
"prepare-nightly": "node scripts/bump-dev-version",
"coverage": "cross-env TS_NODE_PROJECT=\"test/tsconfig.json\" nyc -n \"src/**/*.ts\" -e .ts -i ts-node/register -r text-summary -r lcov -r html npm test",
"post_coverage": "cross-env cat ./coverage/lcov.info | coveralls"
},
"devDependencies": {
"@types/mocha": "^8.0.3",
"@types/node": "^14.6.0",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"chalk": "^4.1.0",
"cross-env": "^7.0.2",
"eslint": "^7.7.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"glob": "^7.1.6",
"husky": "^4.2.5",
"mocha": "^8.1.1",
"nyc": "^15.1.0",
"path": "^0.12.7",
"prettier": "^2.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.26.5",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^7.0.0",
"rollup-plugin-typescript2": "^0.27.2",
"source-map-support": "^0.5.19",
"test262-parser": "^2.2.0",
"test262-parser-tests": "0.0.5",
"ts-node": "^9.0.0",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.0.2",
"unicode-13.0.0": "^0.8.0"
},
"husky": {
"hooks": {
"pre-commit": "node ./scripts/prettier.js check-changed"
}
},
"engines": {
"node": ">=6.0.0"
}
}