-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
50 lines (50 loc) · 1.53 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
{
"name": "fletcher",
"version": "0.1.0",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"/dist"
],
"scripts": {
"grammars": "foreach --glob 'src/**/*.ne' --execute 'nearleyc #{path} --out #{dir}/#{name}.ts'",
"build": "npm run grammars && tsc",
"lint:check": "eslint .",
"lint:fix": "eslint . --fix",
"format:check": "prettier . --check",
"format:fix": "prettier . --write",
"style:check": "npm-run-all --serial format:check lint:check",
"style:fix": "npm-run-all --serial format:fix lint:fix",
"test": "jest",
"coverage": "jest --coverage",
"watch:grammars": "onchange --add 'src/**/*.ne' -- nearleyc {{file}} --out {{fileDir}}/{{fileBaseNoExt}}.ts",
"watch:test": "jest --watch",
"watch": "npm-run-all --parallel watch:*"
},
"author": "Paolo Brasolin <paolo.brasolin@gmail.com>",
"license": "MIT",
"dependencies": {
"nearley": "^2.20.1",
"superstruct": "^0.15.3"
},
"devDependencies": {
"@types/jest": "^27.0.3",
"@types/nearley": "^2.11.2",
"@types/node": "^16.11.11",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.3.0",
"eslint-plugin-prettier": "^4.0.0",
"foreach-cli": "^1.8.1",
"jest": "^27.4.2",
"node-notifier": "^10.0.0",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"prettier": "^2.5.0",
"ts-jest": "^27.0.7",
"typescript": "^4.5.2"
}
}