-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.58 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 2.58 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
{
"name": "taffy-layout",
"version": "2.0.3",
"description": "WebAssembly bindings for Taffy layout library",
"keywords": [
"layout",
"flexbox",
"css-grid",
"grid",
"ui",
"wasm",
"webassembly"
],
"homepage": "https://github.com/ByteLandTechnology/taffy-layout#readme",
"bugs": {
"url": "https://github.com/ByteLandTechnology/taffy-layout/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ByteLandTechnology/taffy-layout.git"
},
"license": "MIT",
"author": "ByteLandTechnology <github@byteland.app>",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./wasm": {
"types": "./pkg/taffy_wasm.d.ts",
"import": "./pkg/taffy_wasm.js"
}
},
"files": [
"dist",
"pkg"
],
"scripts": {
"build": "npm run build:wasm && npm run build:ts && npm run docs",
"build:wasm": "wasm-pack build --release --target web && rm -f pkg/.gitignore && npm run patch-dts",
"build:ts": "tsc && npm run generate:examples",
"build:dev": "wasm-pack build --dev --target web && npm run patch-dts && npm run build:ts",
"docs": "typedoc && prettier --write docs",
"patch-dts": "npx tsx scripts/patch-dts.ts",
"generate:examples": "npx tsx scripts/generate-example-tests.ts",
"test": "vitest run",
"prepare": "husky"
},
"devDependencies": {
"@commitlint/cli": "^20.3.0",
"@commitlint/config-conventional": "^20.3.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^12.0.2",
"@semantic-release/npm": "^13.1.3",
"@semantic-release/release-notes-generator": "^14.1.0",
"@types/node": "^22.0.0",
"@types/react": "^19.2.9",
"@types/react-dom": "^19.2.3",
"conventional-changelog-conventionalcommits": "^9.1.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.7.4",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"semantic-release": "^25.0.2",
"tsx": "^4.0.0",
"typedoc": "^0.28.15",
"typedoc-plugin-markdown": "^4.9.0",
"typescript": "^5.7.0",
"vitest": "^4.0.16",
"wasm-pack": "^0.14.0"
},
"engines": {
"node": ">=12"
},
"overrides": {
"axios": "^1.7.9"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{js,ts,jsx,tsx,json,md,yaml,yml}": "prettier --write",
"*.rs": "cargo fmt --"
}
}