-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
59 lines (59 loc) · 1.7 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
{
"name": "jomini",
"version": "0.9.1",
"author": "Nick Babcock <[email protected]>",
"license": "MIT",
"description": "Parses Paradox files into javascript objects",
"sideEffects": false,
"type": "module",
"main": "./dist/umd/index.js",
"module": "./dist/es/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/node/index.cjs",
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.cjs"
},
"./slim": {
"types": "./dist/types/index.d.ts",
"node": "./dist/node/index.cjs",
"import": "./dist/es-slim/index_slim.js",
"default": "./dist/cjs-slim/index_slim.cjs"
},
"./jomini.wasm": "./dist/jomini_js_bg.wasm",
"./package.json": "./package.json"
},
"files": [
"dist"
],
"scripts": {
"build": "wasm-pack build -t web --out-dir ../src/pkg crate && rm -rf dist/ && rollup -c",
"build:minify": "npm run build && npx terser@latest --compress --mangle --output dist/cjs/index.cjs -- dist/cjs/index.cjs",
"format": "npx prettier@latest --write src/ tests/ package.json rollup.config.js tsconfig.json vite.config.ts cli.js",
"pretest": "npm run build",
"test": "vitest run && tsc",
"prepublishOnly": "npm test"
},
"repository": {
"type": "git",
"url": "git://github.com/nickbabcock/jomini.git"
},
"keywords": [
"paradox",
"clausewitz",
"jomini",
"parser",
"javascript"
],
"devDependencies": {
"@rollup/plugin-typescript": "^12.1.2",
"@rollup/plugin-wasm": "^6.2.2",
"@types/node": "^22.10.2",
"rollup": "^4.29.1",
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
}
}