forked from DPGAlliance/publicgoods-candidates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
41 lines (41 loc) · 1.52 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
{
"name": "dpgs",
"version": "0.0.1",
"description": "JSON schema validation for Digital Public Goods nominees & digital public goods",
"main": "index.js",
"scripts": {
"test": "ajv validate -s nominee-schema.json -d \"nominees/*.json\" && ajv validate -s screening-schema.json -d \"digitalpublicgoods/*.json\"",
"check": "./scripts/check-filenames.bash",
"check:fix": "./scripts/check-filenames.bash --fix",
"lint": "for f in ./nominees/*.json ./digitalpublicgoods/*.json; do jsonlint \"$f\" > tempfile.tmp; if diff $f tempfile.tmp; then echo \"Linting of $f passed\"; else echo \"Linting of $f failed\" && exit 1; fi; done",
"lint:fix": "for f in ./nominees/*.json ./digitalpublicgoods/*.json; do echo \"$f\"; jsonlint \"$f\" -i; echo >> \"$f\"; done",
"order": "node scripts/order-fields.js --color=always",
"order:fix": "node scripts/order-fields.js --fix",
"cleanCountries": "node scripts/standardizeCountries.js",
"cleanCountries:fix": "node scripts/standardizeCountries.js --fix"
},
"author": "",
"license": "MIT",
"devDependencies": {
"ajv-cli": "^3.1.0",
"btoa": "^1.2.1",
"colors": "^1.4.0",
"csvtojson": "^2.0.10",
"del": "^6.0.0",
"diff": "^5.0.0",
"fuzzball": "^2.0.2",
"husky": "^4.3.8",
"isomorphic-git": "^1.8.2",
"jsonlint": "^1.6.3",
"request": "^2.88.2"
},
"husky": {
"hooks": {
"pre-commit": "npm test && npm run order && npm run check"
}
},
"dependencies": {
"dotenv": "^8.2.0",
"minimist": "^1.2.6"
}
}