forked from AcalaNetwork/chopsticks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.77 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
{
"name": "chopsticks-monorepo",
"author": "Bryan Chen <[email protected]>",
"license": "Apache-2.0",
"packageManager": "[email protected]",
"private": true,
"workspaces": [
"packages/*",
"executor/pkg"
],
"scripts": {
"lint": "tsc --noEmit --project tsconfig.json && eslint . --ext .js,.ts && prettier --check .",
"fix": "eslint . --ext .js,.ts --fix && prettier -w .",
"prepare": "husky install",
"clean": "yarn workspaces foreach -pvit run clean",
"build": "yarn workspaces foreach -pvit run build",
"build-wasm": "wasm-pack build executor --target nodejs --scope acala-network && echo '' >> executor/pkg/package.json",
"build-wasm-logging": "wasm-pack build executor --target nodejs --scope acala-network --features=logging",
"check": "cd executor && cargo check --locked",
"test": "vitest run",
"test:watch": "vitest",
"start": "yarn script:start",
"dev": "yarn script:run"
},
"engines": {
"node": ">=v14"
},
"prettier": {
"tabWidth": 2,
"semi": false,
"singleQuote": true
},
"lint-staged": {
"*.{js,ts}": "eslint --cache --fix",
"*.{js,ts,css,md}": "prettier --write"
},
"devDependencies": {
"@swc/core": "^1.3.60",
"@types/node": "^20.2.3",
"@types/prettier": "^2.7.2",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
"husky": "^8.0.3",
"prettier": "^2.8.8",
"typescript": "^5.0.4",
"unplugin-swc": "^1.3.2",
"vite-tsconfig-paths": "^4.2.0",
"vitest": "^0.31.3",
"wasm-pack": "^0.11.1"
},
"exports": {
".": "./lib/index.js",
"./*": "./lib/*.js",
"./package.json": "./package.json"
}
}