generated from learn-ark/dapp-core-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.86 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
{
"private": true,
"name": "@vendorname/your-dapp-name",
"description": "Your dApp description",
"version": "0.0.1",
"contributors": [
"FirstName, LastName <[email protected]>"
],
"license": "MIT",
"main": "dist/index.js",
"files": [
"dist"
],
"scripts": {
"prepublishOnly": "yarn test && yarn build",
"pretest": "yarn lint && yarn build",
"compile": "../../node_modules/typescript/bin/tsc",
"build": "yarn clean && yarn compile",
"build:watch": "yarn clean && yarn compile -w",
"clean": "del dist",
"docs": "node_modules/typedoc/bin/typedoc src --out docs",
"lint": "./node_modules/tslint/bin/tslint -c ./tslint.json -p ./tslint-config.json './src/**/*.ts' --fix",
"format": "yarn lint && yarn prettier",
"prettier": "prettier --write \"./*.{ts,js,json,md}\" \"./src/**/*.{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"
},
"dependencies": {
"@arkecosystem/core-container": "^2.6.0-next.2",
"@arkecosystem/core-interfaces": "^2.6.0-next.2"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^0.5.0",
"@types/jest": "^24.0.18",
"@types/node": "^12.7.12",
"tslint": "^5.20.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.6.4",
"typedoc": "^0.15.0",
"ts-jest": "^24.0.2",
"jest": "^24.9.0",
"jest-extended": "^0.11.2",
"regenerator-runtime": "^0.13.0",
"cross-env": "^6.0.3",
"del-cli": "^3.0.0",
"prettier": "^1.18.2"
},
"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"
]
}
}