-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
207 lines (207 loc) · 8.63 KB
/
Copy pathpackage.json
File metadata and controls
207 lines (207 loc) · 8.63 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
"name": "9th.js",
"version": "0.1.26",
"description": "A modern 3D JavaScript library for creating interactive graphics and visualizations",
"type": "module",
"main": "dist/esm/main.js",
"module": "dist/esm/main.js",
"types": "dist/esm/main.d.ts",
"exports": {
".": {
"import": "./dist/esm/main.js",
"types": "./dist/esm/main.d.ts"
},
"./umd": {
"import": "./dist/umd/9th.umd.js",
"default": "./dist/umd/9th.umd.js"
},
"./umd.min": {
"import": "./dist/umd/9th.umd.min.js",
"default": "./dist/umd/9th.umd.min.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "npm run clean && npm run build:all && npm run build:types",
"build:all": "rollup -c rollup.config.js",
"build:types": "tsc --emitDeclarationOnly --outDir dist/esm --project tsconfig.json",
"clean": "if exist dist rmdir /s /q dist && if exist dist-cjs rmdir /s /q dist-cjs && if exist dist-esm rmdir /s /q dist-esm && if exist dist-umd rmdir /s /q dist-umd || rm -rf dist dist-cjs dist-esm dist-umd",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:ci": "jest --ci --coverage --watchAll=false",
"test:unit": "jest tests/unit",
"test:integration": "jest tests/integration",
"test:performance": "jest tests/performance --testTimeout=60000",
"test:visual": "jest tests/visual --testTimeout=120000",
"test:load": "jest tests/load --testTimeout=300000",
"test:all": "npm run test:unit && npm run test:integration && npm run test:performance && npm run test:visual && npm run test:load",
"lint": "eslint src/**/*.ts",
"format": "prettier --write \"src/**/*.{ts,js,json,md}\"",
"type-check": "tsc --noEmit",
"validate": "npm run type-check && npm run lint && npm run test",
"prepublishOnly": "npm run build",
"release:patch": "npm version patch && npm publish",
"release:minor": "npm version minor && npm publish",
"release:major": "npm version major && npm publish",
"release:alpha": "npm version prerelease --preid=alpha && npm publish --tag alpha",
"release:beta": "npm version prerelease --preid=beta && npm publish --tag beta",
"release:rc": "npm version prerelease --preid=rc && npm publish --tag next",
"channel:build:core": "node build-core.js",
"channel:build:full": "node build-full.js",
"channel:build:module": "node build-module.js",
"channel:build:experimental": "node build-experimental.js",
"channel:build:all": "npm run channel:build:core && npm run channel:build:full && npm run channel:build:module && npm run channel:build:experimental",
"channel:test:core": "npm run test -- --testPathPattern=core",
"channel:test:full": "npm run test -- --testPathPattern=full",
"channel:test:module": "npm run test -- --testPathPattern=module",
"channel:test:experimental": "npm run test -- --testPathPattern=experimental",
"channel:test:all": "npm run channel:test:core && npm run channel:test:full && npm run channel:test:module && npm run channel:test:experimental",
"channel:dev:core": "node build-core.js --watch",
"channel:dev:full": "node build-full.js --watch",
"channel:dev:module": "rollup -c rollup.module.config.js -w",
"channel:dev:experimental": "node build-experimental.js --watch",
"channel:dev:all": "concurrently \"npm run channel:dev:core\" \"npm run channel:dev:full\" \"npm run channel:dev:module\" \"npm run channel:dev:experimental\"",
"channel:version:core": "node version-manager.js core",
"channel:version:full": "node version-manager.js full",
"channel:version:module": "node version-manager.js module",
"channel:version:experimental": "node version-manager.js experimental",
"channel:version:info": "node version-manager.js --info",
"channel:version:list": "node version-manager.js --versions",
"channel:publish:core": "npm publish --prefix core-package.json --tag latest-core",
"channel:publish:full": "npm publish --prefix full-package.json --tag latest-full",
"channel:publish:module": "npm publish --prefix module-package.json --tag latest-module",
"channel:publish:experimental": "npm publish --prefix experimental-package.json --tag experimental",
"channel:publish:all": "npm run channel:publish:core && npm run channel:publish:full && npm run channel:publish:module && npm run channel:publish:experimental",
"channel:sync:versions": "node scripts/sync-versions.js",
"channel:analyze:sizes": "npm run build && npm run size:core && npm run size:full && npm run size:module && npm run size:experimental",
"size:core": "npm run build:core && npx vite-bundle-analyzer dist/core/**/*.js",
"size:full": "npm run build:full && npx vite-bundle-analyzer dist/full/**/*.js",
"size:module": "npm run build:module && npx vite-bundle-analyzer dist/module/**/*.js",
"size:experimental": "npm run build:experimental && npx vite-bundle-analyzer dist/experimental/**/*.js",
"channel:validate:core": "npm run validate --prefix core-package.json",
"channel:validate:full": "npm run validate --prefix full-package.json",
"channel:validate:module": "npm run validate --prefix module-package.json",
"channel:validate:experimental": "npm run validate --prefix experimental-package.json",
"channel:validate:all": "npm run channel:validate:core && npm run channel:validate:full && npm run channel:validate:module && npm run channel:validate:experimental",
"channel:release": "npm run channel:sync:versions && npm run channel:validate:all && npm run channel:build:all && npm run channel:analyze:sizes && npm run channel:publish:all",
"channel:release:core": "npm run channel:validate:core && npm run channel:build:core && npm run channel:publish:core",
"channel:release:full": "npm run channel:validate:full && npm run channel:build:full && npm run channel:publish:full",
"channel:release:module": "npm run channel:validate:module && npm run channel:build:module && npm run channel:publish:module",
"channel:release:experimental": "npm run channel:validate:experimental && npm run channel:build:experimental && npm run channel:publish:experimental",
"validate-channels": "node validate-channels.js"
},
"keywords": [
"3d",
"graphics",
"webgl",
"visualization",
"library",
"javascript",
"typescript",
"three-dimensional",
"rendering",
"animation",
"shader",
"mesh",
"texture",
"material",
"light",
"camera"
],
"author": {
"name": "9th.js Team",
"email": "hei@digitalcloud.no",
"url": "https://github.com/9thjs"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/syedrazaalino/9th.js.git"
},
"bugs": {
"url": "https://github.com/syedrazaalino/9th.js/issues"
},
"homepage": "https://github.com/syedrazaalino/9th.js#readme",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/9thjs"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"devDependencies": {
"@commitlint/cli": "^17.7.2",
"@commitlint/config-conventional": "^17.7.0",
"@rollup/plugin-node-resolve": "16.0.3",
"@rollup/plugin-replace": "^5.0.2",
"@types/jest": "^29.5.5",
"@types/node": "^20.5.0",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"canvas": "^2.11.2",
"canvas-5-polyfill": "^0.1.5",
"commitizen": "^4.3.0",
"concurrently": "^8.2.0",
"cross-env": "^7.0.3",
"eslint": "^8.47.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.3",
"jest": "^29.6.2",
"jsdom": "^22.1.0",
"lint-staged": "^14.0.1",
"playwright": "^1.40.0",
"prettier": "^3.0.3",
"puppeteer": "^21.5.0",
"rollup": "3.29.5",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-html": "^0.2.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.35.0",
"rollup-plugin-visualizer": "^5.9.3",
"semantic-release": "^21.1.1",
"size-limit": "^11.0.0",
"ts-jest": "^29.1.1",
"typedoc": "^0.25.0",
"typescript": "^5.1.6"
},
"peerDependencies": {
"typescript": ">=4.5.0"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
},
"os": [
"darwin",
"linux",
"win32"
],
"cpu": [
"x64",
"arm64"
],
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
],
"files": [
"dist/",
"types/",
"package.json",
"README.md",
"LICENSE",
"CHANGELOG.md",
"CONTRIBUTING.md"
]
}