-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
62 lines (62 loc) · 1.88 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
{
"name": "worker-typescript-boilerplate",
"version": "0.0.0",
"description": "Cloudflare Worker TypeScript Boilerplate for Node.js Projects",
"license": "MIT",
"author": "Munjal Dhamecha",
"main": "dist/worker.js",
"scripts": {
"build": "npm run clean && wrangler build",
"clean": "rimraf dist coverage worker",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"preview": "npm run clean && env-cmd wrangler preview",
"preview:watch": "npm run preview -- --watch",
"publish": "npm run clean && env-cmd wrangler publish",
"release": "standard-version",
"release:mock": "npm run release -- --dry-run",
"test": "jest --detectOpenHandles --coverage",
"test:watch": "npm run test -- --watch"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"package.json": [
"sort-package-json"
]
},
"devDependencies": {
"@cloudflare/workers-types": "^2.1.0",
"@cloudflare/wrangler": "^1.15.0",
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.33",
"@types/service-worker-mock": "^2.0.1",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"dotenv-webpack": "^7.0.1",
"env-cmd": "^10.1.0",
"eslint": "^7.21.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-jest": "^24.2.1",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^5.1.3",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"service-worker-mock": "^2.0.5",
"sort-package-json": "^1.49.0",
"standard-version": "^9.1.1",
"ts-jest": "^26.5.3",
"ts-loader": "^8.0.18",
"typescript": "^4.2.3",
"webpack": "^5.24.4",
"webpack-cli": "^4.5.0"
}
}