-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.89 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
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
{
"name": "@limulus/penumbra",
"version": "1.0.0",
"description": "A Ray Tracer Challenge implementation using web technologies",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./wasm/simd": {
"types": "./dist/wasm/penumbra-simd.d.ts",
"import": "./dist/wasm/penumbra-simd.js"
}
},
"files": [
"dist/cjs",
"dist/esm",
"dist/types",
"dist/wasm",
"src"
],
"type": "module",
"scripts": {
"build": "concurrently -c auto 'npm:build:*'",
"build:cjs": "tsc -p tsconfig.build.json --incremental false --module commonjs --outDir dist/cjs",
"build:dts": "tsc -p tsconfig.build.json --incremental false --declaration --declarationMap --emitDeclarationOnly --outDir dist/types",
"build:esm": "tsc -p tsconfig.build.json --incremental false --outDir dist/esm",
"build:wasm": "wasm-pack build --out-dir ../dist/wasm --out-name penumbra-simd --no-pack wasm -- --no-default-features --features simd",
"postbuild:cjs": "echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"postbuild:wasm": "del dist/wasm/.gitignore",
"clean": "concurrently -c auto 'npm:clean:*'",
"clean:js": "del *.tsbuildinfo coverage dist",
"clean:wasm": "cd wasm && cargo clean",
"dev": "chokidar wasm/src --initial --command 'npm run build:wasm'",
"lint": "eslint src",
"prepack": "npm run build",
"prepare": "is-ci || husky install",
"test": "concurrently -c auto 'npm:test:browser' 'npm:test:wasm'",
"test:browser": "vitest run",
"test:wasm": "cd wasm && wasm-pack test --node",
"test:wasm:watch": "chokidar wasm/src --initial --command 'npm run wasm:test'",
"tscc": "tsc --noEmit",
"verify": "concurrently -c auto npm:lint npm:test npm:tscc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/limulus/penumbra.git"
},
"author": {
"name": "Eric McCarthy",
"email": "eric@limulus.net",
"url": "https://limulus.net/"
},
"license": "UNLICENSED",
"bugs": {
"url": "https://github.com/limulus/penumbra/issues"
},
"homepage": "https://limulus.net/penumbra/",
"dependencies": {
"outdent": "^0.8.0",
"tslib": "^2.6.2"
},
"devDependencies": {
"@commitlint/cli": "^18.2.0",
"@commitlint/config-conventional": "^18.1.0",
"@limulus/eslint-config": "^5.0.0",
"@types/chai": "^4.3.14",
"@vitest/browser": "^1.6.0",
"@vitest/coverage-istanbul": "^1.6.0",
"chai": "^5.1.0",
"chokidar-cli": "^3.0.0",
"concurrently": "^8.2.2",
"del-cli": "^5.1.0",
"eslint": "^8.52.0",
"husky": "^8.0.3",
"is-ci": "^3.0.1",
"mkdirp": "^3.0.1",
"semantic-release": "^22.0.5",
"typescript": "^5.2.2",
"vitest": "^1.5.0",
"wasm-pack": "^0.12.1",
"webdriverio": "^8.36.1"
}
}