-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
41 lines (41 loc) · 1.43 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
{
"private": true,
"dependencies": {
"commonform-commonmark": "^6.0.0",
"commonform-docx": "^5.5.3",
"commonform-prepare-blanks": "^1.0.2",
"file-saver": "^2.0.5",
"jszip": "^3.9.1",
"mustache": "^4.2.0",
"ooxml-signature-pages": "^3.1.0",
"outline-numbering": "^2.0.0"
},
"devDependencies": {
"ajv": "^8.11.0",
"browserify": "^17.0.0",
"exorcist": "^2.0.0",
"js-yaml": "^4.1.0",
"licensee": "^8.2.0",
"mustache-vars": "^0.2.0",
"playwright": "^1.21.1",
"send": "^0.18.0",
"standard": "^17.0.0",
"tape": "^5.5.3"
},
"scripts": {
"lint": "standard",
"licenses": "licensee --errors-only",
"fix": "standard --fix",
"build": "npm run build:prompts ; npm run build:terms ; npm run build:order ; npm run build:permission ; npm run build:head ; npm run build:bundle ; npm run build:compressed",
"build:bundle": "browserify -d index.js | exorcist bundle.map.js > bundle.js ; du -h bundle.js",
"build:compressed": "gzip -k -f bundle.js ; du -h bundle.js.gz",
"build:prompts": "js-yaml < prompts.yml > prompts.json",
"build:terms": "./texttojson terms.md",
"build:order": "./texttojson order.md",
"build:permission": "./texttojson permission.md",
"build:head": "echo \"\\\"$(git rev-parse HEAD)\\\"\" > head.json",
"prestart": "npm run build",
"pretest": "npm run build",
"test": "npm run build:prompts && node test.js && ./test.sh"
}
}