-
-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 4.41 KB
/
Copy pathpackage.json
File metadata and controls
129 lines (129 loc) · 4.41 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
{
"private": true,
"description": "An infinite canvas tutorial",
"keywords": [
"infinite canvas",
"tutorial",
"webgl",
"webgpu"
],
"repository": {
"type": "git",
"url": "https://github.com/xiaoiver/infinite-canvas-tutorial"
},
"license": "MIT",
"author": {
"name": "xiaoiver",
"url": "https://github.com/xiaoiver"
},
"scripts": {
"clean": "rimraf dist",
"lint-staged": "lint-staged",
"prepare": "husky install",
"build": "pnpm -r run build",
"build:vello": "cd rust/vello-renderer && cargo build --release --target wasm32-unknown-unknown --lib && wasm-bindgen target/wasm32-unknown-unknown/release/vello_renderer.wasm --out-dir pkg --target web --typescript && rm -f pkg/.gitignore && node -e \"const fs=require('fs');const path='./pkg/package.json';let p;try{p=JSON.parse(fs.readFileSync(path,'utf8'));}catch{p={name:'@infinite-canvas-tutorial/vello-renderer',type:'module',version:'0.1.0',license:'MIT',files:['vello_renderer_bg.wasm','vello_renderer.js','vello_renderer.d.ts'],main:'vello_renderer.js',types:'vello_renderer.d.ts',sideEffects:['./snippets/*']};}p.publishConfig={access:'public'};fs.writeFileSync(path,JSON.stringify(p,null,2));\"",
"build:vello:wasm-pack": "cd rust/vello-renderer && wasm-pack build --target web --scope infinite-canvas-tutorial && rm -f pkg/.gitignore && node -e \"const p=require('./pkg/package.json');p.publishConfig={access:'public'};require('fs').writeFileSync('./pkg/package.json',JSON.stringify(p,null,2))\"",
"deploy": "npx wrangler pages deploy ./packages/site/docs/.vitepress/dist",
"cov": "jest -c ./jest.ecs.config.js --coverage",
"test:ecs": "jest -c ./jest.ecs.config.js --coverage",
"test:e2e": "npx playwright test",
"dev:e2e": "vite dev",
"test:ui": "npx playwright test -c playwright.config.ui.ts",
"changeset": "changeset",
"version": "changeset version",
"release": "changeset publish --tag latest",
"release:alpha": "changeset publish --tag alpha"
},
"devDependencies": {
"@antv/g-device-api": "^1.6.13",
"@changesets/cli": "^2.28.1",
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "18.0.0",
"@eslint/js": "^9.23.0",
"@loaders.gl/core": "^4.3.3",
"@loaders.gl/images": "^4.3.3",
"@playwright/test": "^1.51.1",
"@sand4rt/experimental-ct-web": "^1.51.1",
"@types/gl": "^6.0.5",
"@types/jest": "^26.0.24",
"@types/pixelmatch": "^5.2.6",
"@types/pngjs": "^6.0.5",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"@vue-macros/eslint-config": "^0.7.1",
"@xmldom/xmldom": "^0.9.10",
"canvas": "^3.1.0",
"case-police": "^0.5.14",
"eslint": "^9",
"eslint-plugin-jest": "24.3.6",
"get-pixels": "3.3.3",
"globals": "^16.0.0",
"grapheme-splitter": "^1.0.4",
"husky": "^7.0.4",
"jest": "^29.7.0",
"jsdom": "^19.0.0",
"lint-staged": "^10.5.4",
"markdownlint-cli": "^0.32.2",
"npm-run-all": "^4.1.5",
"openfig-core": "^0.3.7",
"pixelmatch": "5.3.0",
"pngjs": "^6.0.0",
"pngparse-sync": "^1.0.2",
"prettier": "^2.8.8",
"rimraf": "^4.4.1",
"ts-jest": "^29.3.1",
"typescript": "^5.8.3",
"vite": "^6.4.2",
"vue-eslint-parser": "^9.4.3"
},
"optionalDependencies": {
"gl": "^6.0.2"
},
"lint-staged": {
"*.{md,json}": [
"prettier --write"
],
"*.md": [
"markdownlint --fix",
"case-police --fix",
"prettier --write"
],
"*.{js,jsx,tsx,ts,vue}": [
"eslint --fix"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"pnpm": {
"overrides": {
"esbuild": "0.23.1",
"playwright": "1.49.1",
"lodash-es": ">=4.18.0",
"qs": ">=6.14.2",
"rollup": ">=4.59.0",
"tar": ">=7.5.11",
"serialize-javascript": ">=7.0.5",
"markdown-it": ">=14.1.1",
"hono": ">=4.12.18",
"express-rate-limit": ">=8.2.2",
"undici": ">=6.24.0",
"flatted": ">=3.4.0",
"@hono/node-server": ">=1.19.13",
"dompurify": ">=3.4.0",
"picomatch": ">=4.0.4",
"brace-expansion": ">=5.0.5",
"path-to-regexp": ">=8.4.0",
"defu": ">=6.1.5",
"protobufjs": ">=8.0.2",
"protocol-buffers-schema": ">=3.6.1",
"@xmldom/xmldom": ">=0.9.10",
"postcss": ">=8.5.10",
"fast-uri": ">=3.1.2",
"ip-address": ">=10.1.1",
"mermaid": "11.15.0"
}
}
}