forked from xwingtmg/xwing-data2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 1.35 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": "xwing-data2",
"version": "2.5.2",
"repository": "[email protected]:guidokessels/xwing-data2.git",
"author": "Guido Kessels <[email protected]>",
"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 && node scripts/ffgtranslations.js && yarn format"
},
"devDependencies": {
"git-diff": "^2.0.6",
"husky": "^4.2.1",
"jest": "^25.1.0",
"jest-json-schema": "^2.1.0",
"json-stable-stringify": "^1.0.1",
"jsonfile": "^5.0.0",
"jsonlint-cli": "^1.0.1",
"lint-staged": "^10.0.7",
"node-fetch": "^2.6.1",
"prettier": "^1.19.1"
},
"lint-staged": {
"*.{js,json}": [
"prettier --write"
],
"{data,tests}/**/*.{js,json}": [
"yarn validate:tests --bail"
],
"*.json": "prettier --write"
},
"prettier": {
"tabWidth": 2,
"printWidth": 80
},
"dependencies": {
"string-math": "^1.2.2"
}
}