-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
43 lines (43 loc) · 1.58 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
{
"name": "mandarinavn",
"version": "1.0.0-beta-1",
"description": "A visual novel engine, using kaboom.js",
"author": "lajbel",
"license": "MIT",
"main": "./dist/mandarina.js",
"module": "./dist/mandarina.mjs",
"types": "./dist/types.d.ts",
"type": "module",
"scripts": {
"prepare": "npm run dts && npm run build",
"dev": "nodemon --watch ./src --watch ./example --exec \"npm run build && npm run build:example\" --ext \"ts\"",
"build": "node scripts/build.js",
"watch": "nodemon --watch ./src --exec \"npm run build\" --ext \"ts\"",
"build:example": "esbuild example/main.ts --bundle --sourcemap --outfile=example/game.js",
"dev:example": "esbuild example/main.ts --bundle --outfile=example/game.js --servedir=./example/",
"watch:example": "esbuild example/main.ts --bundle --outfile=example/game.js --sourcemap --watch --servedir=./example/",
"fmt": "eslint --fix src/",
"dts": "npx dts-bundle-generator -o dist/types.d.ts src/types.ts",
"check": "tsc",
"doc": "node scripts/doc.js"
},
"files": [
"dist/",
"src/",
"README.md"
],
"dependencies": {
"kaboom": "^3000.1.17"
},
"devDependencies": {
"@types/node": "^18.14.0",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.59.9",
"dts-bundle-generator": "^8.1.2",
"esbuild": "^0.19.5",
"eslint": "^8.34.0",
"nodemon": "^3.0.1",
"prettier": "^2.8.8",
"typescript": "^4.9.5"
}
}