-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 2.16 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": "@eulertour/studio",
"version": "1.0.33",
"description": "EulerStudio graphics library",
"author": "Devin Neal ([email protected])",
"type": "module",
"source": "src/index.ts",
"exports": {
".": {
"import": "./build/studio/bundle/index.js",
"types": "./build/studio/bundle/index.d.ts"
}
},
"files": [
"build/studio/bundle",
"src"
],
"scripts": {
"dev": "vite",
"test": "vitest",
"build": "rm -rf build; bun run build:source; bun run build:mathjax; bun run build:three; bun run build:api; bun run copy:examples",
"build:source": "tsc; rollup --config rollup.studio.ts --configPlugin typescript",
"build:mathjax": "rollup --config rollup.mathjax.ts --configPlugin typescript",
"build:three": "bun run :bundleThreeTypes && bun run :copyThreeBundle",
":bundleThreeTypes": "rollup --config rollup.three-types.ts --configPlugin typescript",
":copyThreeBundle": "cp node_modules/three/build/three.module.js build/three",
"build:api": "bun run :extractApi && bun run :parseJson",
":extractApi": "api-extractor run --config docs/apiExtractor/api-extractor.json --local --verbose",
":parseJson": "node ./docs/parser/index.js docs/apiExtractor/studio.js.api.json ./build/studio.api.json",
"copy:examples": "cp -r examples/src build/studio/examples",
"deploy:development": "bun run :deploy -- --development",
"deploy:staging": "bun run :deploy -- --staging",
"deploy:production": "bun run :deploy -- --production",
":deploy": "bun run --cwd deploy :deploy"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.48.1",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-typescript": "^12.1.2",
"@types/three": "^0.162",
"@xmldom/xmldom": "^0.9.6",
"ajv": "8",
"colors": "^1.4.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"mathjax-full": "^3.2.2",
"rollup-plugin-dts": "^6.1.1",
"serve": "^14.2.4",
"tslib": "^2.8.1",
"typescript": "5.4",
"typescript-eslint": "^8.18.2",
"vite": "^6.0.5",
"vitest": "^2.1.8"
},
"dependencies": {
"three": "^0.162"
}
}