forked from AcalaNetwork/chopsticks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 1.72 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 <xlchen1291@gmail.com>",
"license": "Apache-2.0",
"packageManager": "yarn@3.2.4",
"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 run clean",
"build": "yarn workspaces foreach run build",
"build-wasm": "wasm-pack build executor --target nodejs --scope acala-network && echo '' >> executor/pkg/package.json",
"build-wasm-logging": "yarn build-wasm --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.44",
"@types/node": "^18.15.11",
"@types/prettier": "^2.7.2",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
"husky": "^8.0.3",
"prettier": "^2.8.7",
"typescript": "^5.0.3",
"unplugin-swc": "^1.3.2",
"vite-tsconfig-paths": "^4.0.7",
"vitest": "^0.29.8",
"wasm-pack": "^0.10.3"
},
"exports": {
".": "./lib/index.js",
"./*": "./lib/*.js",
"./package.json": "./package.json"
}
}