-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
71 lines (71 loc) · 1.95 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
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "fontkit-rs",
"version": "0.0.15-beta.2",
"description": "Toolkit used to load, match, measure, and render texts",
"main": "index.js",
"directories": {
"example": "examples",
"test": "tests"
},
"files": [
"pkg/**/*",
"index.js",
"index.d.ts",
"Readme.md"
],
"author": "Zimon Dai <[email protected]>",
"license": "MIT",
"types": "./index.d.ts",
"scripts": {
"build": "cargo component build --release && jco transpile target/wasm32-wasip1/release/fontkit.wasm -o pkg --no-namespaced-exports",
"test": "NODE_OPTIONS='--import=ts-node/esm --no-warnings' ava",
"format:rs": "cargo fmt",
"format:source": "prettier --config ./package.json --write './**/*.{js,ts,mjs}'",
"format:yaml": "prettier --parser yaml --write './**/*.{yml,yaml}'",
"lint": "eslint -c ./.eslintrc.yml './**/*.{ts,tsx,js}'",
"lint:fix": "eslint -c ./.eslintrc.yml './**/*.{ts,tsx,js}' --fix"
},
"repository": {
"type": "git",
"url": "[email protected]:alibaba/font-toolkit.git"
},
"devDependencies": {
"@types/node": "^18.11.7",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"ava": "^5.3.1",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-sonarjs": "^0.12.0",
"prettier": "^2.6.0",
"ts-node": "^10.8.1",
"tsx": "^4.2.0",
"typescript": "^4.7.3",
"walkdir": "^0.4.1"
},
"ava": {
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--loader=ts-node/esm"
],
"environmentVariables": {
"TS_NODE_PROJECT": "./tsconfig.json"
}
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always",
"parser": "typescript"
},
"type": "module",
"dependencies": {
"@bytecodealliance/preview2-shim": "^0.16.1"
}
}