-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
65 lines (65 loc) · 2.29 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
{
"name": "root",
"private": true,
"engines": {
"node": ">=10.13.0",
"yarn": "^1.12.3"
},
"type": "commonjs",
"workspaces": [
"packages/*"
],
"scripts": {
"build": "tsc --outDir build",
"build:release": "node ./scripts/polkadot-dev-build-ts.cjs",
"clean": "rm -rf build && npx lerna exec -- rm -rf build",
"docs:meta": "yarn run docs:derive && cp -rf deriveDocs/interfaces docs && node ./scripts/metadataMdWrapper.js",
"docs:src": "rm -rf api_docs && typedoc --out api_docs --exclude '**/*+(index|.spec|.e2e).ts' packages/api/src",
"docs:derive": "npx typedoc packages/api/src/derives/ --out deriveDocs --exclude '**/*+(index|.e2e|balances).ts'",
"meta:extension": "node ./scripts/generateMetaCallsForExtension",
"meta:slim": "node ./scripts/generateSlimMetadataWrapper",
"meta:update": "node ./scripts/updateStaticMetadata packages/api/src packages/types && pushd packages/types && yarn build && popd && yarn docs:meta",
"lint": "eslint . --ext .ts",
"test": "jest -c ./jest/unit.config.js --coverage",
"test:hooks": "jest -c ./jest/hook.config.js --bail --detectOpenHandles --forceExit --runInBand",
"test:e2e": "TEST_TYPE=integration jest -c ./jest/integration.config.js --bail --forceExit --detectOpenHandles",
"run:signer": "node ./packages/signer-cli/src/index.cjs"
},
"devDependencies": {
"@polkadot/dev": "0.64.18",
"@polkadot/ts": "0.3.64",
"@babel/helper-regex": "^7.10.5",
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"eslint": "^7.25.0",
"eslint-plugin-import": "^2.22.1",
"husky": "^1.1.1",
"jest": "^26.6.3",
"jest-environment-node": "^26.5.2",
"lerna": "^3.13.1",
"prettier": "^2.2.1",
"pretty-quick": "^1.11.1",
"ts-jest": "^26.4.1",
"ts-node": "^8.0.3",
"tsconfig-paths": "^3.8.0",
"typedoc": "0.21.0",
"typescript": "^4.0.3"
},
"resolutions": {
"typescript": "^4.0.3"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-lerna-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged --pattern 'packages/api/src/**/*' && npx eslint . --ext .ts"
}
},
"dependencies": {
"typedoc-plugin-markdown": "^3.10.0"
}
}