-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 4.79 KB
/
Copy pathpackage.json
File metadata and controls
109 lines (109 loc) · 4.79 KB
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
{
"name": "@khgame/tables",
"version": "0.2.8",
"description": "轻量级跨平台 Excel/CSV 导表工具 ( `Excel/CSV` ==> `json`/`js`/`ts`/`ts-interface` )",
"main": "./lib/index.js",
"bin": {
"tables": "./lib/exec.js"
},
"scripts": {
"build": "rimraf ./lib/ && babel ./src --extensions '.ts,.js' --source-maps inline -d ./lib --copy-files LICENSE README.md",
"prepublishOnly": "npm run build",
"build:site": "node ./scripts/build-site.js",
"docs:dev": "vitepress dev docs-site",
"docs:build": "vitepress build docs-site",
"local-install": "rimraf /usr/local/lib/node_modules/@khgame/tables && npm i . -g",
"typecheck": "tsc -p tsconfig.json --noEmit",
"types": "tsc -p tsconfig.types.json",
"test": "npm run build && jest --runInBand",
"test:watch": "jest --watch",
"smoke": "npm run build && node ./test/smoke.js",
"coverage": "npm run build && jest --coverage --runInBand",
"ex:convert": "npm run build && node ./example/ex.convert.js",
"ex:serialize": "npm run build && node ./example/ex.serialize.js",
"ex:minirpg": "npm run build && node ./example/game_01_minirpg/serialize.js",
"ex:click-cookies": "npm run build && node ./example/game_02_click_cookies/serialize.js",
"ex:darkroom": "npm run build && node ./example/game_03_a_dark_room/serialize.js && node ./node_modules/hserve/bin/hserve.js -d ./example/game_03_a_dark_room/out -p 8765 -l",
"ex:arcane": "npm run build && node ./example/game_04_arcane_depths/serialize.js && node ./node_modules/hserve/bin/hserve.js -d ./example/game_04_arcane_depths/out -p 8769 -l",
"ex:neon": "npm run build && node ./example/game_05_neon_aberration/_rebuild_data.js && node ./example/game_05_neon_aberration/serialize.js && node ./node_modules/hserve/bin/hserve.js -d ./example/game_05_neon_aberration/out -p 8085 -l",
"ex:neon:demo": "npm run build && node ./example/game_05_neon_aberration/_rebuild_data.js && node ./example/game_05_neon_aberration/serialize.js && npm --prefix ./example/game_05_neon_aberration/demo run dev",
"ex:nightfall": "npm run build && node ./example/game_06_abyssal_nightfall/_rebuild_data.js && node ./example/game_06_abyssal_nightfall/serialize.js && node ./node_modules/hserve/bin/hserve.js -d ./example/game_06_abyssal_nightfall/out -p 8086 -l",
"ex:nightfall:dev": "node ./example/game_06_abyssal_nightfall/_rebuild_data.js && node ./example/game_06_abyssal_nightfall/serialize.js && npx vite --config example/game_06_abyssal_nightfall/vite.config.js",
"ex:skill-gomoku": "npm run build && node ./example/game_07_skill_gomoku/serialize.js",
"ex:skill-gomoku:dev": "npm run build && node ./example/game_07_skill_gomoku/serialize.js --skip-build && npx vite --config example/game_07_skill_gomoku/vite.config.ts",
"tool:tileset": "npx http-server example/tool_01_tileset_slicer -p 5210 -o"
},
"repository": {
"type": "git",
"url": "git+https://github.com/khgame/tables.git"
},
"keywords": [
"excel",
"game",
"json",
"export"
],
"author": "kinghand (kinghand@foxmail.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/khgame/tables/issues"
},
"homepage": "https://github.com/khgame/tables#readme",
"dependencies": {
"@babel/runtime": "^7.3.4",
"@khgame/schema": "^0.0.11",
"@tabler/icons-react": "^3.35.0",
"assert": "^1.4.1",
"chalk": "^2.4.2",
"deep-equal": "^1.0.1",
"fs-extra": "^7.0.1",
"kht": "^0.0.13",
"lodash": "^4.17.11",
"path": "^0.12.7",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz",
"yargs": "^13.2.1"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@babel/plugin-transform-runtime": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-typescript": "^7.27.1",
"@tailwindcss/line-clamp": "^0.4.4",
"@types/chalk": "^0.4.31",
"@types/deep-equal": "^1.0.4",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.17.20",
"@types/node": "^24.5.2",
"@types/react": "^18.3.6",
"@types/react-dom": "^18.3.0",
"@types/yargs": "^17.0.33",
"@vitejs/plugin-react": "^4.3.2",
"autoprefixer": "^10.4.20",
"babel-jest": "^30.1.2",
"eslint": "^9.37.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"hserve": "^0.1.3",
"jest": "^30.1.3",
"postcss": "^8.4.49",
"postcss-import": "^16.1.0",
"rimraf": "^5.0.10",
"tailwindcss": "^3.4.14",
"ts-node": "^8.0.2",
"tslint": "^5.13.0",
"typescript": "^5.6.3",
"vite": "^5.4.8",
"vitepress": "^1.6.4"
},
"files": [
"lib"
],
"types": "lib/index.d.ts"
}