-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
61 lines (61 loc) · 2.2 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
{
"name": "phaser3-weapon-plugin",
"version": "2.2.1",
"description": "Weapon Plugin for Phaser 3",
"main": "dist/WeaponPlugin.js",
"module": "out/es2016/main.js",
"esnext": "out/esnext/main.js",
"types": "out/esnext/main.d.ts",
"type": "module",
"scripts": {
"prepare": "npm install --no-save phaser && (npm run build & npm run tsc)",
"prepublishOnly": "npm run docs && git add docs/ && git commit -m \"Update generated docs\"",
"prebuild": "npm run lint:fix",
"build": "webpack",
"postbuild": "cp dist/WeaponPlugin.{js,js.map} examples/src/",
"test": "npm run lint --silent",
"examples": "http-server examples/src -p 2234",
"lint": "eslint src/**/*",
"lint:fix": "npm run lint -- --fix",
"lintexamples": "eslint examples/src/js/**/* --parser-options sourceType:\"module\" --global WeaponPlugin --rule 'no-console: off' --rule 'no-unused-vars: [warn, { varsIgnorePattern: game }]'",
"lintexamples:fix": "npm run lintexamples -- --fix",
"lintmd": "markdownlint-cli2 \"**/*.md\" \"#node_modules\"",
"lintmd:fix": "markdownlint-cli2-fix \"**/*.md\" \"#node_modules\"",
"tsc": "tsc && tsc -t ES2016 --outDir out/es2016",
"docs": "typedoc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/16patsle/phaser3-weapon-plugin.git"
},
"author": "Patrick Sletvold",
"license": "MIT",
"bugs": {
"url": "https://github.com/16patsle/phaser3-weapon-plugin/issues"
},
"homepage": "https://github.com/16patsle/phaser3-weapon-plugin#readme",
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"babel-loader": "^8.2.2",
"core-js": "^3.38.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.4.1",
"http-server": "^14.1.1",
"markdownlint-cli2": "^0.5.1",
"phaser": "^3.85.2",
"prettier": "^2.4.1",
"terser-webpack-plugin": "^5.2.4",
"typedoc": "^0.22.5",
"typescript": "^4.4.3",
"webpack": "^5.94.0",
"webpack-cli": "^4.9.0"
},
"peerDependencies": {
"phaser": "^3.60.0"
}
}