forked from udacity/cloudflare-typescript-workers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 2.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
51
52
53
{
"name": "cloudflare-typescript-workers",
"version": "1.0.0",
"description": "A tested Hello World Cloudflare Worker written in TypeScript",
"main": "src/helloworker.ts",
"scripts": {
"package-types-cloudflare-worker": "cd packages/types-cloudflare-worker; npm run prepublish",
"package-types-service-worker-mock": "cd packages/@udacity/types-service-worker-mock;npm run prepublish",
"package-cloudflare-worker-mock": "cd packages/cloudflare-worker-mock && rm -rf node_modules/@udacity && mkdir -p node_modules/@udacity && cp -R ../types-cloudflare-worker node_modules && cp -R ../@udacity/types-service-worker-mock node_modules/@udacity && npm run prepublish",
"packages": "npm run package-types-cloudflare-worker && npm run package-types-service-worker-mock; npm run package-cloudflare-worker-mock",
"build": "webpack --progress --mode production # Create minified output, runs in Cloudflare",
"build-dev": "webpack --progress --mode none # Creates readable output, runs in Cloudflare",
"build-demo": "cd demo; npm run build",
"test": "jest",
"update-demo": "cp src/* demo/src/; cp test/* demo/test/; # Demo updated on version releases",
"test-demo": "cd demo; jest",
"test-all": "npm run packages && npm run lint && jest && npm run test-demo",
"lint": "tslint --project tsconfig.tslint.json --force",
"lint-fix": "tslint --project tsconfig.tslint.json --fix",
"clean": "git clean -xdf"
},
"repository": {
"type": "git",
"url": "git+https://github.com/udacity/cloudflare-typescript-workers.git"
},
"author": "Brad Erickson <bderickson@gmail.com>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/udacity/cloudflare-typescript-workers/issues"
},
"homepage": "https://github.com/udacity/cloudflare-typescript-workers#readme",
"devDependencies": {
"@types/jest": "^25.2.1",
"@types/node": "^13.13.4",
"@udacity/types-service-worker-mock": "file:./packages/@udacity/types-service-worker-mock",
"cloudflare-worker-mock": "file:./packages/cloudflare-worker-mock",
"jest": "^25.5.3",
"jest-fetch-mock": "^3.0.3",
"prettier": "^2.0.5",
"service-worker-mock": "^2.0.5",
"ts-jest": "^25.4.0",
"ts-loader": "^7.0.2",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-plugin-prettier": "^2.3.0",
"types-cloudflare-worker": "file:./packages/types-cloudflare-worker",
"typescript": "^3.8.3",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11"
},
"dependencies": {}
}