forked from simone-coelho/optimizely-edgeworker-akamai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 2.07 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
{
"name": "optimizely-akamai-edgeworker",
"author": "[email protected]",
"license": "Apache-2.0",
"version": "2.0.0",
"description": "Edge-Worker implementation of the Optimizely Javascript SDK",
"main": "index.js",
"config": {
"bundleVersion": "10280",
"rootPath": "C:\\Users\\scoelho\\Documents\\Amadalis\\_akamai_ew\\dist",
"distributionRelativePath": "dist",
"edgeWorkerId": "6152"
},
"scripts": {
"new-token": "akamai edgeworkers create-auth-token --expiry 60 ew-optly-agent.optimizely.com",
"update-datafile": "node ./scripts/update_datafile.js",
"update-bundle": "node ./scripts/update_bundle.js",
"build-rollup": "rollup -c",
"build-tar": "node ./scripts/make_bundle_tar.js",
"build-upload": "akamai edgeworkers upload --bundle %npm_package_config_rootPath%\\optly-akamai-agent.tgz %npm_package_config_edgeWorkerId%",
"bundle-activate": "node ./scripts/activate_edgeworker.js",
"build-deploy": "npm run build-upload",
"build-full": "npm run update-datafile && npm run update-bundle && npm run build-rollup && npm run build-tar && npm run build-deploy && npm run bundle-activate",
"build-full-no-deploy": "npm run update-datafile && npm run update-bundle && npm run build-rollup && npm run build-tar",
"build-full-deploy": "npm run update-datafile && npm run update-bundle && npm run build-rollup && npm run build-tar && npm run build-upload"
},
"dependencies": {
"@optimizely/optimizely-sdk": "^4.4.3",
"exec-sh": "^0.4.0",
"jsonata": "^1.8.4",
"node-fetch": "^2.6.1",
"url-pattern": "^1.0.3",
"url-search-params": "^1.1.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@types/akamai-edgeworkers": "^1.0.5",
"npm-run-all": "^4.1.5",
"rollup": "^2.6.1",
"rollup-plugin-copy-assets": "^2.0.1",
"rollup-plugin-json": "^4.0.0",
"typescript": "^4.3.2"
}
}