-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
92 lines (92 loc) · 3.76 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "civbuddy",
"version": "2.3.6",
"description": "A calculator app for players of Francis Tresham's original Civilization board game (1980)",
"keywords": [
"board-game",
"civilization",
"francis-tresham"
],
"homepage": "https://civbuddy.org/",
"bugs": {
"url": "https://github.com/tsjensen/civbuddy/issues"
},
"license": "GPL-3.0",
"author": {
"name": "Thomas Jensen"
},
"repository": "github:tsjensen/civbuddy",
"scripts": {
"postinstall": "patch-package",
"clean": "rimraf build",
"reset-version-json": "git checkout src/ts/framework/version.json",
"prebuild": "npm run clean",
"build": "npm-run-all --parallel --silent reset-version-json fix-l20n process-html sass tslint",
"fix-l20n": "mkdirp build/l20n && uglifyjs node_modules/l20n/dist/web/l20n.js -m -c -o build/l20n/l20n.min.js",
"process-html": "node node_modules/html-includes/bin/run.js --src resources --dest build/dist",
"sass": "node-sass --source-map=true src/sass -o build/dist/css/",
"tslint": "tslint --project tsconfig.json --format verbose src/ts/**/*.ts",
"posttslint": "tslint --project tsconfig-test.json --format verbose test/ts/**/*.ts",
"postbuild": "cross-env TS_NODE_PROJECT=tsconfig-for-webpack-config.json webpack",
"test": "cross-env TS_NODE_COMPILER_OPTIONS={\\\"module\\\":\\\"commonjs\\\"} mocha --require ts-node/register --require jsdom-global/register test/ts/**/*.test.ts",
"preprod": "npm-run-all clean reset-version-json fix-l20n process-html sass tslint webpack-prod",
"webpack-prod": "cross-env TS_NODE_PROJECT=tsconfig-for-webpack-config.json webpack --mode=production",
"prod": "npm-run-all hash:* remove-maps",
"hash:css": "hashmark -l 12 -r --cwd build/dist/css {civbuddy,cards,games,error,funds,players}.css {name}.{hash}{ext} | replaceinfiles --silent --source build/dist/*.html",
"hash:js": "hashmark -l 12 -r --cwd build/dist/js {bootstrap.min,civbuddy,l20n.min}.js {name}.{hash}{ext} | replaceinfiles --silent --source build/dist/*.html",
"remove-maps": "rimraf build/dist/{css,js}/*.map"
},
"dependencies": {
"babel-polyfill": "6.26.0",
"bootstrap": "4.3.1",
"bootswatch": "4.3.1",
"jquery": "3.3.1",
"l20n": "5.0.0",
"mustache": "2.3.2",
"open-iconic": "1.1.1",
"popper.js": "1.14.7",
"sprintf-js": "1.1.2",
"uuid": "3.3.2"
},
"devDependencies": {
"@songkick/replaceinfiles": "1.1.6",
"@types/bootstrap": "4.3.0",
"@types/chai": "4.1.7",
"@types/copy-webpack-plugin": "4.4.3",
"@types/execa": "0.9.0",
"@types/jquery": "3.3.1",
"@types/mocha": "5.2.6",
"@types/mustache": "0.8.32",
"@types/node": "8.10.60",
"@types/sprintf-js": "1.1.2",
"@types/uuid": "3.4.4",
"@types/webpack": "4.4.27",
"chai": "4.2.0",
"copy-webpack-plugin": "5.0.2",
"copyfiles": "2.1.0",
"cross-env": "5.2.0",
"ejs": "2.6.1",
"execa": "1.0.0",
"hashmark": "5.0.0",
"html-includes": "4.1.1",
"jsdom": "14.0.0",
"jsdom-global": "3.0.2",
"mkdirp": "0.5.1",
"mocha": "6.1.0",
"node-sass": "4.11.0",
"npm-run-all": "4.1.5",
"patch-package": "6.1.2",
"rimraf": "2.6.3",
"ssri": "6.0.1",
"svgo": "^1.3.0",
"ts-loader": "5.3.3",
"ts-node": "8.0.3",
"tsconfig-paths": "3.8.0",
"tslint": "5.15.0",
"typescript": "3.4.2",
"uglify-js": "3.5.3",
"webpack": "4.29.6",
"webpack-cli": "3.3.0",
"webpack-version-file-plugin": "0.3.3"
}
}