-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
34 lines (34 loc) · 1.39 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
{
"private": true,
"scripts": {
"build:module": "tsc",
"clean": "rm -rf dist",
"e2e:setup": "npm run package:build && (cd e2e && npm install && npm run build)",
"lint": "npm run typecheck && prettier --check . && prettier-package-json --list-different '{,public.,example/}package.json' && eslint .",
"lint:fix": "prettier --write . && prettier-package-json --write '{,public.,example/}package.json' && eslint --fix .",
"package:build": "npm install && npm run clean && npm run build:module && npm run package:prune && npm run package:copy:files && chmod +x dist/index.js",
"package:copy:files": "cp ./LICENSE ./README.md dist/ && cp ./public.package.json dist/package.json",
"package:prune": "find dist -name *.test.* | xargs rm -f",
"prepare": "husky install",
"test": "jest",
"test:ci": "test --coverage",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@babel/core": "^7.19.1",
"@babel/preset-env": "^7.19.1",
"@babel/preset-typescript": "^7.18.6",
"@types/jest": "^29.0.3",
"@types/node": "^18.7.18",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"babel-jest": "^29.0.3",
"eslint": "^8.23.1",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.1",
"jest": "^29.0.3",
"prettier": "^2.7.1",
"prettier-package-json": "^2.6.4",
"typescript": "^4.8.3"
}
}