forked from openmovementproject/openmovement-axconfig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 1.79 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": "ax-webconfig",
"version": "1.0.0",
"description": "AX Device Web Configuration",
"main": "index.js",
"directories": {
"lib": "lib"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "parcel dev --host localhost --port 1234 src/index.html",
"build": "parcel build src/index.html --public-url ./ --out-dir docs && del-cli docs/*.map docs/*.js docs/*.mjs docs/*.css docs/icon*.*.png docs/manifest.webmanifest && cpy src/cache.appcache src/manifest.webmanifest src/service-worker.js icon*.png docs && node -e \"console.log('# version ' + (new Date()).toISOString());\" >> docs/cache.appcache && node -e \"console.log(' + \\'' + (new Date()).toISOString().replace(/[^0-9]/g,'') + '\\';');\" >> docs/service-worker.js && node -e \"require('fs').writeFileSync('docs/index.html',require('fs').readFileSync('docs/index.html','utf8').split('\\n').filter(line=>!/^v[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]-[0-9][0-9]-[0-9][0-9]-[0-9][0-9].*/.test(line)).join('\\n')+'\\nv'+(new Date()).toISOString().replace('Z','').replace(/[^0-9]/g,'-').slice(0,19)+'')\""
},
"repository": {
"type": "git",
"url": "ssh://[email protected]:digitalinteraction/openmovement-axconfig.git"
},
"keywords": [
"Open Movement",
"AX3",
"AX6",
"configuration",
"setup"
],
"author": "Dan Jackson",
"license": "BSD-2-Clause",
"browserslist": [
"last 1 Chrome versions"
],
"devDependencies": {
"@babel/helper-compilation-targets": "^7.8.4",
"del-cli": "^3.0.1",
"parcel-bundler": "^1.12.4",
"parcel-plugin-html-externals": "^0.2.0",
"parcel-plugin-inline-source": "^1.0.0"
},
"dependencies": {
"cpy-cli": "^3.1.1",
"test.js": "^1.0.0"
},
"externals": {
"manifest.webmanifest": false,
"icon*.png": false
}
}