forked from ArkEcosystem/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
141 lines (141 loc) · 6.43 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 --forceExit",
"test:unit:coverage": "cross-env CORE_ENV=test jest ./__tests__/unit --coverage --coveragePathIgnorePatterns='/(defaults.ts|index.ts)$' --forceExit",
"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.6.4",
"@babel/preset-env": "^7.6.3",
"@faustbrian/benchmarker": "^0.1.2",
"@oclif/dev-cli": "^1.22.2",
"@sindresorhus/tsconfig": "^0.7.0",
"@types/babel__core": "^7.1.3",
"@types/create-hash": "^1.2.1",
"@types/depcheck": "^0.9.0",
"@types/jest": "^24.0.18",
"@types/js-yaml": "^3.12.1",
"@types/nock": "^11.1.0",
"@types/node": "^12.7.12",
"@types/prettier": "^1.18.3",
"@types/pretty-ms": "^5.0.1",
"@types/prompts": "^2.4.0",
"@types/rimraf": "^2.0.2",
"@types/uuid": "^3.4.5",
"babel-loader": "^8.0.6",
"codecov": "^3.6.1",
"create-hash": "^1.2.0",
"cross-env": "^7.0.0",
"del-cli": "^3.0.0",
"depcheck": "^0.9.0",
"husky": "^3.0.8",
"jest": "^25.0.0",
"jest-extended": "^0.11.2",
"js-yaml": "^3.13.1",
"lerna": "^3.17.0",
"lint-staged": "^9.4.2",
"nock": "^11.4.0",
"npm-check-updates": "^3.1.24",
"prettier": "^1.18.2",
"prompts": "^2.2.1",
"rimraf": "^3.0.0",
"snyk": "^1.234.0",
"ts-jest": "^25.0.0",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.7.2",
"typesync": "^0.6.1",
"uuid": "^3.3.3"
},
"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"
]
}
}