forked from cdloh/cloudflare-esi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 2.96 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
104
{
"name": "cloudflare-esi",
"version": "0.2.2",
"repository": "cdloh/cloudflare-esi",
"description": "ESI Parser built to run in Cloudflare workers",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"type": "module",
"scripts": {
"build": "tsc",
"build-worker": "node worker/build.js",
"test": "npm run-script build-worker && node --experimental-vm-modules node_modules/jest/bin/jest.js --verbose --collectCoverage --coverageProvider=v8",
"test-debug": "npm run-script build-worker && node --experimental-vm-modules --inspect-brk node_modules/jest/bin/jest.js --runInBand",
"format": "prettier --write '*.{json,js}' 'src/**/*.{js,ts}' 'test/**/*.{js,ts}'",
"lint": "eslint --max-warnings=0 src && prettier --check '*.{json,js}' 'src/**/*.{js,ts}' 'test/**/*.{js,ts}'",
"prepack": "npm run-script test && npm run-script lint && npm run-script build",
"pretty": "prettier --check '*.{json,js}' 'src/**/*.{js,ts}' 'test/**/*.{js,ts}'",
"semantic-release": "semantic-release"
},
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/github",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"package.json",
"package-lock.json",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
},
"keywords": [
"serviceworker",
"cloudflare",
"workers",
"esi",
"esi-parser"
],
"author": {
"name": "Callum Loh",
"email": "[email protected]"
},
"files": [
"dist"
],
"license": "BSD-2-Clause",
"eslintConfig": {
"root": true,
"extends": [
"typescript",
"prettier",
"plugin:jsdoc/recommended"
],
"plugins": [
"jsdoc"
],
"rules": {
"jsdoc/no-undefined-types": 0,
"no-new-func": [
"error"
],
"no-eval": [
"error"
]
}
},
"devDependencies": {
"@cloudflare/workers-types": "^3.1.1",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.5",
"@semantic-release/npm": "^9.0.1",
"@semantic-release/release-notes-generator": "^10.0.3",
"@types/jest": "^27.0.2",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"esbuild": "^0.15.5",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.1.0",
"eslint-config-typescript": "^3.0.0",
"eslint-plugin-jsdoc": "^39.3.6",
"jest": "^27.3.1",
"jest-environment-miniflare": "2.7.1",
"miniflare": "2.7.1",
"prettier": "^2.4.1",
"semantic-release": "^19.0.4",
"ts-jest": "^27.0.7",
"typescript": "^4.4.4"
},
"dependencies": {
"worktop": "^0.7.3"
}
}