-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.55 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
{
"name": "thre3",
"version": "0.1.0",
"description": "A puzzle game written in TypeScript using Phaser 3.",
"main": "src/game.ts",
"scripts": {
"dev": "rollup --config rollup.config.dev.mjs",
"build": "rollup --config rollup.config.dist.mjs",
"watch": "rollup --watch --config rollup.config.dev.mjs",
"headless-build": "rollup --config rollup.config.headless.mjs",
"headless": "npm run headless-build && node ./dist/headless.js",
"headless-help": "echo \"Use 'npm run headless -- <args>' to pass args to the headless script instead of npm. E.g. 'npm run headless -- --help' \"",
"format-check": "prettier --config .prettierrc src/**/*.ts --check",
"format-fix": "prettier --config .prettierrc src/**/*.ts --write",
"lint-check": "eslint . --ext .ts",
"lint-fix": "eslint . --ext .ts --fix",
"gh-pages": "gh-pages -d dist",
"prepare": "husky install",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/JoachimMarin/Thre3.git"
},
"author": "Joachim Marin",
"license": "MIT",
"bugs": {
"url": "https://github.com/JoachimMarin/Thre3/issues"
},
"homepage": "https://github.com/JoachimMarin/Thre3#readme",
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-run": "^3.0.2",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.1.0",
"@types/jest": "^29.5.6",
"@types/node": "^20.6.0",
"@types/xml2js": "^0.4.12",
"@types/yargs": "^17.0.29",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.8.0",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-no-null": "^1.0.2",
"eslint-plugin-no-relative-import-paths": "^1.5.3",
"eslint-plugin-no-unary-plus": "^0.2.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"gh-pages": "^6.0.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.0.1",
"phaser": "^3.60.0",
"prettier": "^3.0.3",
"rollup": "^3.20.2",
"rollup-plugin-serve": "^2.0.2",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2"
},
"dependencies": {
"commander": "^11.1.0",
"enum-for": "0.0.6",
"xml2js": "^0.6.2"
},
"lint-staged": {
"src/**/*.ts": [
"eslint --fix"
],
"src/**/*.{html,ts,scss}": [
"prettier --write"
]
}
}