-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 1.79 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
{
"name": "grater",
"version": "0.0.1-alpha.1",
"description": "An ECMAScript parser",
"main": "dist/cjs/grater.js",
"module": "dist/esm/grater.js",
"license": "Apache-2.0",
"author": "NanYang <[email protected]>",
"homepage": "https://github.com/nanyang24/grater",
"repository": {
"type": "git",
"url": "https://github.com/nanyang24/grater"
},
"bugs": {
"url": "https://github.com/nanyang24/grater/issues"
},
"engines": {
"node": ">=6.0.0"
},
"scripts": {
"dev": "tsc-watch --onSuccess 'node ./dist/grater.js'",
"build": "rm -rf dist && yarn build:esm && yarn build:cjs",
"build:es2015": "tsc --module es2015 --target es2015 --outDir dist/es2015",
"build:esm": "tsc --module es2015 --target es5 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --target es5 --outDir dist/cjs",
"lint": "eslint . --ext .ts",
"lint-fix": "eslint . --ext .ts --fix",
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
"test": "mocha test/**/*.ts",
"test262-parser-tests": "mocha \"test/test262-parser-tests/*.ts\"",
"test-single": "mocha"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix"
]
},
"devDependencies": {
"@types/mocha": "^8.0.0",
"@types/node": "^14.0.14",
"@typescript-eslint/eslint-plugin": "^3.5.0",
"@typescript-eslint/parser": "^3.5.0",
"eslint": "7.2.0",
"eslint-config-airbnb-base": "14.2.0",
"eslint-plugin-import": "^2.22.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"mocha": "^8.1.3",
"prettier": "^2.0.5",
"test262-parser-tests": "^0.0.5",
"ts-node": "^8.10.2",
"tsc-watch": "^4.2.9",
"typescript": "^3.9.6"
},
"files": [
"dist"
]
}