generated from learn-ark/dapp-core-module-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
89 lines (89 loc) · 2.96 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
{
"private": true,
"name": "@learn-ark/dapp-core-module-http-server-template",
"description": "A simple dApp that shows how to create custom http server on-chain",
"version": "0.0.1",
"contributors": [
"Kristjan, Kosic <kristjan@ark.io>"
],
"license": "MIT",
"files": [
"dist"
],
"main": "dist/index",
"types": "dist/index",
"scripts": {
"prepublishOnly": "yarn test && yarn build",
"pretest": "yarn lint && yarn build",
"build": "yarn clean && tsc",
"build:watch": "yarn clean && yarn compile -w",
"clean": "del dist",
"compile": "../../node_modules/typescript/bin/tsc",
"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.7.1",
"@arkecosystem/core-http-utils": "2.7.1",
"@arkecosystem/core-interfaces": "2.7.1"
},
"devDependencies": {
"@sindresorhus/tsconfig": "0.7.0",
"@types/jest": "26.0.14",
"@types/node": "12.12.62",
"cross-env": "7.0.2",
"del-cli": "3.0.1",
"jest": "26.4.2",
"jest-extended": "0.11.5",
"prettier": "2.1.2",
"regenerator-runtime": "0.13.7",
"ts-jest": "26.4.0",
"tslint": "6.1.3",
"tslint-config-prettier": "1.18.0",
"typedoc": "0.19.2",
"typescript": "4.0.3"
},
"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"
]
}
}