forked from terraforming-mars/terraforming-mars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 4.46 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "terraforming-mars",
"version": "1.0.0",
"description": "Terraforming Mars Game",
"engines": {
"node": ">=16.x <=20.x"
},
"private": true,
"dependencies": {
"ansi-escape-sequences": "^6.2.2",
"chart.js": "^3.7.0",
"console-stamp": "3.0.0-rc4.2",
"cross-env": "^7.0.3",
"dialog-polyfill": "^0.5.1",
"dotenv": "^8.2.0",
"html-escaper": "^3.0.3",
"mnemonist": "^0.39.3",
"prom-client": "^14.0.1",
"vti": "^0.1.7",
"vue": "2.6.10",
"vue-template-compiler": "2.6.10",
"webpack": "^5.94.0",
"webpack-cli": "^4.5.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/ansi-escape-sequences": "^4.0.4",
"@types/chai": "^4.3.1",
"@types/chai-as-promised": "^7.1.5",
"@types/html-escaper": "^3.0.0",
"@types/mocha": "^9.1.1",
"@types/node": "^10.17.47",
"@types/pg": "^7.14.7",
"@types/sqlite3": "^3.1.6",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"@vue/test-utils": "^1.1.1",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-deep-equal-ignore-undefined": "^1.1.1",
"compression-webpack-plugin": "^8.0.0",
"css-loader": "^5.2.6",
"eslint": "^8.20.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-vue": "^9.2.0",
"fork-ts-checker-webpack-plugin": "^6.2.13",
"jsdom": "^22.1.0",
"less": "^3.10.3",
"less-loader": "^10.0.0",
"mocha": "^9.2.2",
"mochapack": "^2.1.4",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"spectre.css": "^0.5.8",
"ts-loader": "^9.2.2",
"ts-mocha": "^9.0.2",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^3.11.0",
"tsconfig-paths-webpack-plugin": "^3.5.1",
"typescript": "^4.7.4",
"vue-loader": "^15.10.1",
"vue-style-loader": "^4.1.3",
"vue-typed-refs": "^1.0.0",
"zlib": "^1.0.5"
},
"optionalDependencies": {
"pg": "^8.2.1",
"sqlite3": "^5.1.5"
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript"
},
"scripts": {
"start": "node build/src/server/server.js",
"start:prof": "node --prof build/src/server/server.js",
"build": "npm run make:static && npm run build:server && npm run build:client",
"build:client": "npm run make:cards && cross-env NODE_ENV=production webpack",
"build:server": "tsc --build src/tsconfig.json",
"build:tests": "tsc --build tests/tsconfig.json",
"clean": "rm -r ./build/ ./src/genfiles/ || true",
"lint": "npm run lint:server && npm run lint:client",
"lint:client": "vti diagnostics",
"lint:server": "eslint --cache src tests --ext ts --ext vue",
"lint:fix": "eslint --fix src tests --ext ts --ext vue",
"make:cards": "node build/src/server/tools/export_card_rendering.js",
"make:css": "lessc src/styles/common.less build/styles.css && node src/server/tools/gzip.js",
"make:json": "node make_static_json.js",
"make:static": "npm run make:css && npm run make:json",
"test": "npm run test:server && npm run test:client",
"test:server": "ts-mocha -p tests/tsconfig.json -r tests/utils/setup.ts \"tests/*.spec.ts\" \"tests/!(client|integration)/**/*.spec.ts\"",
"test:integration": "ts-mocha -p tests/tsconfig.json \"tests/integration/**/*.spec.ts\"",
"test:postgresql": "ts-mocha -p tests/tsconfig.json \"tests/integration/PostgreSQL.spec.ts\"",
"test:client": "cross-env NODE_ENV=development mochapack --require tests/client/components/setup.ts \"tests/client/**/*.spec.ts\"",
"test:client:watch": "cross-env NODE_ENV=development mochapack --watch --require tests/client/components/setup.ts \"tests/client/**/*.spec.ts\"",
"cover": "nyc ts-mocha -p tests/tsconfig.json -r tests/utils/setup.ts \"tests/*.spec.ts\" \"tests/!(client)/**/*.spec.ts\"",
"//": "When the zipped versions of JS are available dev:client and dev:server do not refresh automatically",
"dev:prepare": "rm build/main.js.gz build/main.js.br || true",
"dev:client": "npm run dev:prepare && cross-env NODE_ENV=development webpack --watch",
"dev:server": "npm run dev:prepare && npm run make:static && cross-env NODE_ENV=development tsnd src/server/server.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/terraforming-mars/terraforming-mars.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/terraforming-mars/terraforming-mars/issues"
},
"homepage": "https://github.com/terraforming-mars/terraforming-mars#readme"
}