-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
44 lines (44 loc) · 1.65 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
{
"private": true,
"name": "foxy_customer_portal_guard_worker",
"version": "1.0.0",
"description": "A Cloudflare Worker to reuse Foxy.io Customer Portal Authentication to restrict access to pages or contents within a page",
"main": "index.js",
"scripts": {
"test:start-worker": "fx_mock_url=$(npm run mock:publish) && fx_mock_url=${fx_mock_url##* } && fx_mock_url=$(echo $fx_mock_url | sed -e 's/https/http/') && wrangler dev --host $fx_mock_url --env development --upstream-protocol=http",
"test": "echo 'Make sure the worker is running before executing the tests.\n' && nyc mocha './{,!(node_modules)/**}/*.test.?js'",
"build": "wrangler build --env production",
"mock:publish": "cd mock && wrangler publish ",
"format": "prettier --write '**/*.{js,css,json,md}'"
},
"type": "module",
"author": "Foxy.io",
"license": "MIT",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.6.0",
"@typescript-eslint/parser": "^4.6.0",
"chai": "^4.2.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.11.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-html": "^6.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^30.7.3",
"eslint-plugin-lit-a11y": "^1.0.1",
"eslint-plugin-sort-class-members": "^1.8.0",
"eslint-plugin-typescript-sort-keys": "^1.5.0",
"jsonwebtoken": "^8.5.1",
"mocha": "^6.2.3",
"node-fetch": "^2.6.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^1.19.1",
"tcp-port-used": "^1.0.1",
"typescript": "^4.0.5"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}