-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 2.65 KB
/
Copy pathpackage.json
File metadata and controls
114 lines (114 loc) · 2.65 KB
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
{
"name": "template",
"version": "0.0.1",
"description": "The description for the module",
"keywords": [],
"main": "dist/src/index.js",
"files": [
"dist"
],
"author": "Dozto <do021service@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/pardjs/notification.git"
},
"license": "MIT",
"engines": {
"node": ">=8.0.0"
},
"dependencies": {
"axios": "^0.18.0"
},
"scripts": {
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"prebuild": "rimraf dist",
"build": "tsc",
"build:doc": "typedoc --out docs --target es6 --theme minimal --mode file src",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test -- --no-cache --coverage --coverageReporters=text-lcov | coveralls",
"commit": "git-cz",
"precommit": "lint-staged",
"release": "np",
"prerelease": "npm run build"
},
"devDependencies": {
"@commitlint/cli": "^7.6.1",
"@commitlint/config-conventional": "^7.6.0",
"@types/jest": "^24.0.13",
"@types/nock": "^10.0.3",
"@types/node": "^12.0.2",
"commitizen": "^3.1.1",
"coveralls": "^3.0.3",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^2.1.0",
"git-cz": "^3.0.1",
"husky": "^2.3.0",
"jest": "^24.8.0",
"jest-config": "^24.8.0",
"lint-staged": "^8.1.7",
"nock": "^10.0.6",
"np": "^5.0.2",
"prettier": "^1.17.1",
"rimraf": "^2.6.3",
"ts-jest": "^24.0.2",
"ts-node": "^8.1.0",
"tslint": "^5.16.0",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^8.0.1",
"typedoc": "^0.14.2",
"typedoc-plugin-nojekyll": "^1.0.1",
"typescript": "^3.4.5"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"git add"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 70,
"functions": 85,
"lines": 85,
"statements": 85
}
},
"collectCoverageFrom": [
"src/*.{js,ts}"
]
},
"prettier": {
"singleQuote": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}