forked from ArkEcosystem/core
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
141 lines (141 loc) · 6.42 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"private": true,
"name": "core",
"description": "The packages that make up the ARK Core",
"scripts": {
"lerna": "./node_modules/lerna/cli.js",
"setup": "yarn && yarn bootstrap && yarn build",
"setup:clean": "yarn && yarn clean && yarn bootstrap && yarn build",
"bootstrap": "yarn lerna bootstrap",
"clean": "yarn lerna clean --yes",
"build": "yarn lerna run build",
"lint": "./node_modules/tslint/bin/tslint -c ./tslint.json -p ./tslint-config.json './packages/**/*/src/**/*.ts' --fix",
"format": "yarn lint && yarn prettier",
"prettier": "prettier --write \"./*.{ts,js,json,md}\" \"./packages/**/*.{ts,js,json,md}\" \"./__tests__/**/*.{ts,js,json,md}\"",
"lint:tests": "./node_modules/tslint/bin/tslint -c ./tslint.json '__tests__/**/*.ts' --fix",
"format:tests": "yarn lint:tests && yarn prettier:tests",
"prettier:tests": "prettier --write \"./__tests__/**/*.{ts,js,json,md}\"",
"test": "cross-env CORE_ENV=test jest --runInBand --forceExit",
"test:coverage": "cross-env CORE_ENV=test jest --coverage --coveragePathIgnorePatterns='/(defaults.ts|index.ts)$' --runInBand --forceExit",
"test:debug": "cross-env CORE_ENV=test node --inspect-brk ./node_modules/.bin/jest --runInBand",
"test:watch": "cross-env CORE_ENV=test jest --runInBand --watch",
"test:watch:all": "cross-env CORE_ENV=test jest --runInBand --watchAll",
"test:unit": "cross-env CORE_ENV=test jest ./__tests__/unit",
"test:unit:coverage": "cross-env CORE_ENV=test jest ./__tests__/unit --coverage --coveragePathIgnorePatterns='/(defaults.ts|index.ts)$'",
"test:unit:debug": "cross-env CORE_ENV=test node --inspect-brk ./node_modules/.bin/jest ./__tests__/unit",
"test:unit:watch": "cross-env CORE_ENV=test jest ./__tests__/unit --watch",
"test:unit:watch:all": "cross-env CORE_ENV=test jest ./__tests__/unit --watchAll",
"test:integration": "cross-env CORE_ENV=test jest ./__tests__/integration --runInBand --forceExit",
"test:integration:coverage": "cross-env CORE_ENV=test jest ./__tests__/integration --coverage --coveragePathIgnorePatterns='/(defaults.ts|index.ts)$' --runInBand --forceExit",
"test:integration:debug": "cross-env CORE_ENV=test node --inspect-brk ./node_modules/.bin/jest ./__tests__/integration --runInBand",
"test:integration:watch": "cross-env CORE_ENV=test jest ./__tests__/integration --runInBand --watch",
"test:integration:watch:all": "cross-env CORE_ENV=test jest ./__tests__/integration --runInBand --watchAll",
"test:functional": "cross-env CORE_ENV=test jest ./__tests__/functional --runInBand --forceExit",
"test:functional:coverage": "cross-env CORE_ENV=test jest ./__tests__/functional --coverage --coveragePathIgnorePatterns='/(defaults.ts|index.ts)$' --runInBand --forceExit",
"test:functional:debug": "cross-env CORE_ENV=test node --inspect-brk ./node_modules/.bin/jest ./__tests__/functional --runInBand",
"test:functional:watch": "cross-env CORE_ENV=test jest ./__tests__/functional --runInBand --watch",
"test:functional:watch:all": "cross-env CORE_ENV=test jest ./__tests__/functional --runInBand --watchAll",
"snyk": "./node_modules/.bin/snyk protect",
"publish:alpha": "cross-env-shell ./scripts/publish/alpha.sh",
"publish:beta": "cross-env-shell ./scripts/publish/beta.sh",
"publish:rc": "cross-env-shell ./scripts/publish/rc.sh",
"publish:next": "cross-env-shell ./scripts/publish/next.sh",
"publish:latest": "cross-env-shell ./scripts/publish/latest.sh",
"upgrade": "cross-env-shell ./scripts/upgrade.sh",
"version": "cross-env-shell ./scripts/version.sh",
"deps": "cross-env-shell ./scripts/deps/update.sh",
"deps:missing": "node ./scripts/deps/missing.js",
"deps:unused": "node ./scripts/deps/unused.js",
"deps:types": "./node_modules/typesync/bin/typesync",
"docker": "node ./scripts/docker/generate-docker.js",
"bench": "node benchmark/index.js"
},
"devDependencies": {
"@babel/core": "^7.5.4",
"@babel/preset-env": "^7.5.4",
"@faustbrian/benchmarker": "^0.1.2",
"@oclif/dev-cli": "^1.22.0",
"@sindresorhus/tsconfig": "^0.4.0",
"@types/babel__core": "^7.1.2",
"@types/create-hash": "^1.2.0",
"@types/depcheck": "^0.8.0",
"@types/jest": "^24.0.15",
"@types/js-yaml": "^3.12.1",
"@types/nock": "^10.0.3",
"@types/node": "^12.6.2",
"@types/prettier": "^1.16.4",
"@types/pretty-ms": "^4.0.0",
"@types/prompts": "^2.4.0",
"@types/rimraf": "^2.0.2",
"@types/uuid": "^3.4.5",
"babel-loader": "^8.0.6",
"codecov": "^3.5.0",
"create-hash": "^1.2.0",
"cross-env": "^5.2.0",
"del-cli": "^2.0.0",
"depcheck": "^0.8.3",
"husky": "^3.0.0",
"jest": "^24.8.0",
"jest-extended": "^0.11.2",
"js-yaml": "^3.13.1",
"lerna": "^3.15.0",
"lint-staged": "^9.2.0",
"nock": "^11.0.0-beta.17",
"npm-check-updates": "^3.1.20",
"prettier": "^1.18.2",
"prompts": "^2.1.0",
"rimraf": "^2.6.3",
"snyk": "^1.193.1",
"ts-jest": "^24.0.2",
"tslint": "^5.18.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.5.3",
"typesync": "^0.5.1",
"uuid": "^3.3.2"
},
"workspaces": [
"packages/*",
"plugins/*"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"testEnvironment": "node",
"bail": true,
"verbose": true,
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testMatch": [
"**/*.test.ts"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"collectCoverage": false,
"coverageDirectory": "<rootDir>/.coverage",
"collectCoverageFrom": [
"packages/**/src/**/*.ts",
"!**/node_modules/**"
],
"coverageReporters": [
"json",
"lcov",
"text",
"clover",
"html"
],
"watchman": false,
"setupFilesAfterEnv": [
"jest-extended"
]
}
}