-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.62 KB
/
Copy pathpackage.json
File metadata and controls
115 lines (115 loc) · 3.62 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
{
"name": "@playcanvas/web-components",
"version": "0.23.0",
"author": "PlayCanvas <support@playcanvas.com>",
"homepage": "https://playcanvas.com",
"description": "Web Components for the PlayCanvas Engine",
"keywords": [
"custom-elements",
"declarative",
"html",
"playcanvas",
"typescript",
"web-components",
"webgl",
"webgpu",
"webxr"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/playcanvas/web-components.git"
},
"bugs": {
"url": "https://github.com/playcanvas/web-components/issues"
},
"main": "dist/pwc.cjs",
"module": "dist/pwc.mjs",
"unpkg": "dist/pwc.min.js",
"jsdelivr": "dist/pwc.min.js",
"types": "dist/index.d.ts",
"customElements": "dist/custom-elements.json",
"web-types": "dist/web-types.json",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/pwc.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/pwc.cjs"
}
},
"./dist/*": "./dist/*",
"./package.json": "./package.json"
},
"type": "module",
"sideEffects": true,
"engines": {
"node": ">=18.3.0"
},
"files": [
"dist",
"src"
],
"scripts": {
"prebuild": "node -e \"fs.rmSync('dist', { recursive: true, force: true })\"",
"build": "rollup -c",
"postbuild": "node utils/fix-declarations.mjs && npm run cem",
"cem": "cem analyze && node utils/cem/validate.mjs",
"dev": "concurrently \"npm run watch\" \"npm run serve\"",
"docs": "typedoc",
"fmt": "prettier --check eslint.config.mjs prettier.config.mjs examples/js examples/assets/scripts src test vitest.config.ts",
"fmt:fix": "prettier --write eslint.config.mjs prettier.config.mjs examples/js examples/assets/scripts src test vitest.config.ts",
"lint": "eslint examples/js examples/assets/scripts src test vitest.config.ts",
"lint:fix": "eslint examples/js examples/assets/scripts src test vitest.config.ts --fix",
"serve": "serve",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:unit": "vitest run --project unit",
"test:elements": "vitest run --project elements",
"test:integration": "vitest run --project integration",
"test:examples": "vitest run --project examples",
"publint": "publint",
"type-check": "npm run type-check:src && npm run type-check:test",
"type-check:src": "tsc --noEmit -p tsconfig.json",
"type-check:test": "tsc --noEmit -p tsconfig.test.json",
"type-check:watch": "npm run type-check:src -- --watch",
"watch": "rollup -c -w"
},
"peerDependencies": {
"playcanvas": "^2.22.0"
},
"devDependencies": {
"@custom-elements-manifest/analyzer": "0.11.0",
"@mediapipe/tasks-vision": "1.0.1",
"@playcanvas/eslint-config": "3.0.0-beta.8",
"@rollup/plugin-commonjs": "29.0.3",
"@rollup/plugin-node-resolve": "16.0.3",
"@rollup/plugin-terser": "1.0.0",
"@rollup/plugin-typescript": "12.3.0",
"@tweenjs/tween.js": "25.0.0",
"@vitest/coverage-v8": "5.0.0",
"concurrently": "10.0.5",
"custom-element-jet-brains-integration": "1.8.0",
"custom-element-vs-code-integration": "1.5.0",
"earcut": "3.2.3",
"eslint": "9.39.5",
"globals": "17.12.0",
"jsdom": "30.0.1",
"mediabunny": "1.56.0",
"opentype.js": "2.0.0",
"playcanvas": "2.22.1",
"prettier": "3.9.6",
"publint": "0.3.24",
"rollup": "4.63.1",
"serve": "14.2.6",
"tslib": "2.8.1",
"typedoc": "0.28.20",
"typedoc-plugin-mdn-links": "5.1.1",
"typescript": "6.0.3",
"vitest": "5.0.0"
}
}