-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
50 lines (50 loc) · 1.49 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": "cf-image-proxy",
"private": true,
"description": "Proxy CDN for caching static assets from third-party domains via Cloudflare Workers.",
"author": "Travis Fischer <[email protected]>",
"repository": "transitive-bullshit/cf-image-proxy",
"homepage": "https://transitivebullsh.it",
"license": "MIT",
"main": "./dist/main.js",
"engines": {
"node": ">=10"
},
"scripts": {
"start": "run-p build:watch worker:watch",
"prestart": "test -e dist/main.js || run-s \"build --mode development\"",
"dev": "run-s start",
"build": "NODE_ENV=production webpack --mode production",
"build:development": "NODE_ENV=production webpack --mode development",
"build:watch": "NODE_ENV=development webpack --mode development --watch",
"worker": "cloudworker --port 6100 --debug --enable-cache dist/main.js",
"worker:watch": "run-s \"worker --watch\"",
"prepreview": "run-s build:development",
"preview": "wrangler preview",
"prepublish": "run-s build:development",
"publish": "wrangler publish",
"deploy": "run-s \"publish --env production\"",
"pretest": "run-s build",
"test": "ava -v"
},
"devDependencies": {
"@cloudflare/wrangler": "^1.6.0",
"@dollarshaveclub/cloudworker": "^0.1.2",
"ava": "^2.4.0",
"esm": "^3.2.25",
"lodash.pick": "^4.4.0",
"npm-run-all": "^4.1.5",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
},
"ava": {
"failFast": true,
"snapshotDir": "./.snapshots",
"require": [
"esm"
]
},
"dependencies": {
"lodash.get": "^4.4.2"
}
}