-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 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
{
"name": "wasm_crossword_generator",
"version": "0.0.2",
"author": "Kelsey Rhoda <[email protected]>",
"license": "(MIT OR Apache-2.0)",
"description": "A WASM-based TypeScript library for generating and operating crossword puzzles.",
"keywords": [
"game",
"words",
"crossword",
"wasm",
"WebAssembly"
],
"repository": {
"url": "git+https://github.com/krhoda/wasm_crossword_generator.git",
"type": "git"
},
"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"
},
"./wasm_crossword_generator.wasm": "./dist/wasm_crossword_generator_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"
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.2",
"@rollup/plugin-wasm": "^6.1.3",
"@types/node": "^20.4.2",
"rollup": "^3.26.2",
"tslib": "^2.6.0",
"typescript": "^5.3.3"
}
}