Files
api/package.json
T

43 lines
1.5 KiB
JSON

{
"version": "0.95.0-beta.16",
"private": true,
"engines": {
"yarn": "^1.10.1"
},
"workspaces": [
"packages/*"
],
"resolutions": {
"babel-core": "^7.0.0-bridge.0",
"typescript": "^3.6.4"
},
"scripts": {
"build": "yarn build:split:code && yarn build:split:docs",
"build:split:code": "yarn build:interfaces && polkadot-dev-build-ts",
"build:split:docs": "yarn run build:methodsdoc && polkadot-dev-build-docs",
"build:htmldoc": "yarn clean && typedoc --theme default --out docs/html",
"build:interfaces": "node packages/types/src/scripts/interfacesTsWrapper.js",
"build:methodsdoc": "node packages/types/src/scripts/MetadataMdWrapper.js",
"chain:info": "node packages/types/src/scripts/extractChainWrapper.js",
"check": "yarn lint",
"lint": "eslint --ext .js,.jsx,.ts,.tsx . && tsc --noEmit --pretty",
"clean": "polkadot-dev-clean-build",
"postinstall": "polkadot-dev-yarn-only",
"test": "jest --coverage --runInBand --testPathIgnorePatterns e2e",
"test:all": "jest",
"test:e2e": "jest packages/api/test/e2e",
"test:e2e-docker": "TEST_DOCKER=1 jest packages/api/test/e2e",
"test:e2e-remote": "TEST_REMOTE=1 jest packages/api/test/e2e",
"test:one": "jest",
"test:watch": "jest --coverage --watch"
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/register": "^7.6.2",
"@babel/runtime": "^7.6.3",
"@polkadot/dev": "^0.32.0-beta.9",
"@polkadot/ts": "^0.1.80",
"gh-pages": "^2.1.1"
}
}