generated from piesku/goodluck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
37 lines (37 loc) · 1.37 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
{
"name": "goodluck",
"version": "0.0.0",
"private": true,
"description": "A template for creating small and fast browser games",
"repository": {
"type": "git",
"url": "git+https://github.com/piesku/goodluck.git"
},
"contributors": [
"Staś Małolepszy <[email protected]>",
"Michał Budzyński <[email protected]>"
],
"license": "ISC",
"scripts": {
"clean": "find . -type d -name node_modules -prune -o \\( -name '*.js' -o -name '*.js.map' \\) -exec rm {} +",
"lint": "prettier --check \"**/*.ts\"",
"pretty": "prettier --write \"**/*.ts\"",
"start": "esbuild */index.ts --define:DEBUG=true --target=es2020 --preserve-symlinks --bundle --sourcemap --outdir=. --outbase=. --color=false --servedir=. --serve=1234",
"build": "esbuild */index.ts --define:DEBUG=true --target=es2020 --preserve-symlinks --bundle --sourcemap --outdir=. --outbase=. --color=false",
"test": "npm run lint && npm run ts:check",
"ts:check": "tsc --noEmit",
"ts:watch": "tsc --noEmit --watch -p ."
},
"devDependencies": {
"esbuild": "0.14",
"htmlnano": "1.1",
"posthtml-cli": "0.10",
"posthtml-inline-assets": "3.1",
"prettier": "2.5",
"terser": "5.10",
"typescript": "4.5"
},
"engines": {
"node": ">=16"
}
}