/
package.json
119 lines (119 loc) · 4.38 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
113
114
115
116
117
118
119
{
"name": "excalibur",
"sideEffects": false,
"version": "0.1.0-dev",
"description": "Excalibur.js is a simple JavaScript game engine with TypeScript bindings for making 2D games in HTML5 Canvas. Our mission is to make web game development as simple as possible.",
"author": "https://github.com/excaliburjs/Excalibur/graphs/contributors",
"homepage": "https://github.com/excaliburjs/Excalibur",
"main": "build/dist/excalibur.min.js",
"typings": "build/dist/excalibur.d.ts",
"repository": {
"type": "git",
"url": "git://github.com/excaliburjs/Excalibur.git"
},
"bugs": {
"url": "https://github.com/excaliburjs/Excalibur/issues"
},
"license": "BSD-2-Clause",
"keywords": [
"excalibur",
"game",
"engine",
"typescript",
"javascript",
"simple"
],
"scripts": {
"all": "npm run lint && npm run core && npm run test && npm run legacy-visual",
"clean": "rimraf .tsbuildinfo ./build/dist ./build ./src/spec/*.js ./src/spec/*.map",
"linux:ci": "npm run clean && npm run all && npm run coveralls && npm run apidocs",
"appveyor": "npm run all && npm run nuget 0.0.1",
"nuget": ".\\src\\tools\\NuGet.exe pack Excalibur.nuspec -OutputDirectory .\\build\\dist -version",
"start": "npm run core:watch",
"build": "npm run core",
"core": "npm run core:tsc && npm run core:copy && npm run core:bundle",
"core:tsc": "tsc --project src/engine/tsconfig.json --incremental true --tsBuildInfoFile .tsbuildinfo",
"core:copy": "copyfiles -u 2 ./src/engine/**/*.png ./src/engine/**/*.css ./src/engine/**/*.glsl ./build/dist/",
"core:bundle": "webpack --progress --config webpack.config.js --mode production",
"core:watch": "npm run core:bundle -- --watch",
"lint": "npm run eslint && npm run eslint:spec",
"eslint": "eslint \"src/engine/**/*.ts\"",
"eslint:sandbox": "eslint \"sandbox/**/*.ts\"",
"eslint:spec": "eslint \"src/spec/**/*.ts\"",
"visual": "start-storybook",
"build-storybook": "build-storybook -o build-storybook",
"sandbox:copy": "copyfiles -u 2 \"./build/dist/**/*.*\" \"./build/dist/*.*\" ./sandbox/lib/",
"sandbox:build": "tsc --project ./sandbox",
"sandbox": "serve ./sandbox -l 3001 -n",
"legacy-visual": "npm run sandbox:copy && npm run sandbox:build",
"test": "karma start",
"test:watch": "karma start --auto-watch --single-run=false",
"coveralls": "coveralls < coverage/lcov.info",
"apidocs": "git submodule update && node scripts/apidocs.js",
"pretty": "prettier --write \"{src,sandbox/src,sandbox/tests}/**/*.{ts,js,json,css,md}\" --config prettier.config.js",
"release": "node scripts/release.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js,json,md,css}": "prettier --write",
"*.ts": "eslint --fix"
},
"devDependencies": {
"@babel/core": "7.14.8",
"@fortawesome/fontawesome-free": "5.15.3",
"@octokit/rest": "18.7.2",
"@storybook/addon-actions": "6.3.6",
"@storybook/addon-console": "1.2.3",
"@storybook/addon-docs": "6.3.6",
"@storybook/addon-knobs": "6.2.9",
"@storybook/addon-notes": "5.3.21",
"@storybook/html": "6.3.6",
"@types/jasmine": "3.8.2",
"@types/node": "14.17.7",
"@types/react-color": "3.0.5",
"@types/webpack-env": "1.16.2",
"@typescript-eslint/eslint-plugin": "4.28.5",
"@typescript-eslint/parser": "4.28.5",
"babel-loader": "8.2.2",
"copy-webpack-plugin": "9.0.1",
"copyfiles": "2.4.1",
"coveralls": "3.1.1",
"css-loader": "5.2.7",
"eslint": "7.32.0",
"eslint-plugin-jsdoc": "35.4.1",
"excalibur-jasmine": "0.1.1",
"husky": "4.3.8",
"istanbul": "0.4.5",
"istanbul-instrumenter-loader": "3.0.1",
"jasmine": "3.7.0",
"jasmine-core": "3.7.1",
"karma": "6.3.4",
"karma-chrome-launcher": "3.1.0",
"karma-coverage": "2.0.3",
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-jasmine": "4.0.1",
"karma-webpack": "5.0.0",
"lint-staged": "10.5.4",
"prettier": "2.3.2",
"puppeteer": "10.1.0",
"rimraf": "3.0.2",
"semver": "7.3.5",
"serve": "11.3.2",
"source-map-support": "0.5.19",
"sync-request": "6.1.0",
"terser-webpack-plugin": "3.1.0",
"ts-loader": "9.2.4",
"typedoc": "0.21.5",
"typescript": "4.3.5",
"url-loader": "4.1.1",
"webpack": "5.41.1",
"webpack-cli": "4.7.2"
},
"dependencies": {
"core-js": "3.16.0"
}
}