forked from xwingtmg/xwing-data2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.21 KB
/
package.json
File metadata and controls
43 lines (43 loc) · 1.21 KB
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
{
"name": "xwing-data2",
"version": "1.16.4",
"repository": "git@github.com:guidokessels/xwing-data2.git",
"author": "Guido Kessels <mail@guidokessels.com>",
"license": "MIT",
"scripts": {
"validate:json": "jsonlint-cli data/**/*.json",
"validate:tests": "jest tests/**.test.js",
"validate:tests:watch": "jest --watch tests/**.test.js",
"format": "prettier --loglevel warn --write \"data/**/*.json\"",
"changelog": "git log --pretty=format:'- %s (%h)' --no-merges",
"ffg2xws": "node scripts/ffg2xws.js && prettier --write data/ffg-xws.json",
"hyperspace": "node scripts/hyperspace.js && yarn format",
"ffgscrape": "node scripts/ffgscrape.js && node scripts/ffgprocess.js && yarn format"
},
"devDependencies": {
"git-diff": "^2.0.6",
"husky": "^2.2.0",
"jest": "^23.6.0",
"jest-json-schema": "^2.0.1",
"jsonfile": "^5.0.0",
"jsonlint-cli": "^1.0.1",
"lint-staged": "^8.1.6",
"node-fetch": "^2.3.0",
"prettier": "^1.14.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json}": [
"prettier --write",
"git add"
]
},
"prettier": {
"tabWidth": 2,
"printWidth": 80
}
}