-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
49 lines (49 loc) · 2.22 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
{
"name": "ccd-definition-processor",
"version": "1.0.0",
"description": "Utility to help creating Reform ET CCD definitions for Scotland",
"dependencies": {
"glob": "^11.0.0",
"json-stringify-pretty-compact": "^3.0.0",
"lodash": "^4.17.21",
"matcher": "4.0.0",
"minimist": "^1.2.6",
"moment": "^2.29.4",
"prettier": "^3.0.0",
"pretty-quick": "^4.0.0",
"xlsx": "^0.18.2",
"xlsx-populate": "^1.21.0"
},
"devDependencies": {
"eslint": "^9.0.0",
"eslint-plugin-mocha": "^10.0.3",
"mocha": "^10.2.0"
},
"scripts": {
"lint": "eslint src",
"test": "mocha ./src/test --timeout 20000",
"lint-fix": "eslint src --fix",
"json2xlsx": "node ./bin/json2xlsx",
"xlsx2json": "node ./bin/xlsx2json",
"generate-json": "yarn xlsx2json -D ./definitions/json -i ./definitions/xlsx/ccd-config-base.xlsx && pretty-quick --pattern 'definitions/**/json/**.json'",
"generate-excel-local": "node json-env.js local nonprod",
"generate-excel-cftlib": "node json-env.js cftlib nonprod",
"generate-excel-preview": "node preview-env.js nonprod",
"generate-excel-demo": "node json-env.js demo nonprod",
"generate-excel-aat": "node json-env.js aat nonprod",
"generate-excel-perftest": "node json-env.js perftest nonprod",
"generate-excel-prod": "node json-env.js prod prod",
"generate-excel-ithc": "node json-env.js ithc nonprod",
"generate-excel-local-prod": "node json-env.js local prod",
"generate-excel-cftlib-prod": "node json-env.js cftlib prod",
"generate-excel-preview-prod": "node preview-env.js prod",
"generate-excel-demo-prod": "node json-env.js demo prod",
"generate-excel-aat-prod": "node json-env.js aat prod",
"generate-excel-perftest-prod": "node json-env.js perftest prod",
"generate-excel-prod-nonprod": "node json-env.js prod nonprod",
"generate-excel-ithc-prod": "node json-env.js ithc prod",
"generate-excel": "yarn json2xlsx -D ./definitions/json -o ./definitions/xlsx/et-scotland-ccd-config-${ET_ENV:-base}.xlsx",
"generate-excel-all": "yarn generate-excel-local && yarn generate-excel-demo && yarn generate-excel-ithc && yarn generate-excel-aat && yarn generate-excel-prod"
},
"packageManager": "[email protected]"
}