-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 3.01 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
{
"name": "openlib",
"version": "0.0.0-development",
"description": "A custom boilerplate for creating open source libraries",
"main": "dist/openlib.js",
"author": "Ovidiu Barabula <[email protected]> (https://github.com/0vidiu)",
"license": "MIT",
"scripts": {
"commit": "git-cz",
"cm": "git-cz",
"setup": "yarn && yarn validate",
"dev": "cross-env NODE_ENV=development webpack --watch",
"test": "cross-env NODE_ENV=test nyc mocha",
"test:watch": "cross-env NODE_ENV=test nyc mocha --watch",
"lint:js": "eslint --max-warnings=0 ./",
"lint:ts": "tslint -t stylish -c tslint.json -p tsconfig.json",
"lint": "$(yarn bin)/run-p lint:*",
"prebuild": "rimraf ./dist",
"build": "cross-env NODE_ENV=production webpack",
"validate": "$(yarn bin)/run-p lint test build",
"report-coverage": "cat ./coverage/lcov.info | codecov",
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once"
},
"repository": {
"type": "git",
"url": "https://github.com/0vidiu/openlib.git"
},
"files": [
"dist"
],
"bugs": {
"url": "https://github.com/0vidiu/openlib/issues"
},
"homepage": "https://github.com/0vidiu/openlib#readme",
"keywords": [
"boilerplate",
"open-source",
"library",
"typescript",
"webpack",
"tests",
"code-coverage"
],
"devDependencies": {
"@babel/core": "^7.0.0-beta.40",
"@babel/preset-env": "^7.0.0-beta.40",
"@babel/register": "^7.0.0-beta.40",
"@types/chai": "^4.1.2",
"@types/mocha": "^2.2.48",
"@types/node": "^9.4.6",
"awesome-typescript-loader": "^5.0.0-1",
"babel-eslint": "^8.2.2",
"chai": "^4.1.2",
"codecov": "^3.0.0",
"commitizen": "^2.9.6",
"cross-env": "^5.1.3",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^4.18.2",
"eslint-plugin-babel": "^4.1.2",
"ghooks": "^2.0.2",
"mocha": "^5.0.4",
"mock-fs": "^4.4.2",
"npm-run-all": "^4.1.2",
"nyc": "^11.4.1",
"rimraf": "^2.6.2",
"semantic-release": "^12.4.1",
"source-map-support": "^0.5.3",
"travis-deploy-once": "^4.3.4",
"ts-node": "^5.0.1",
"tslint": "^5.9.1",
"tslint-eslint-rules": "^5.1.0",
"tslint-loader": "^3.6.0",
"typescript": "^2.7.2",
"validate-commit-msg": "^2.14.0",
"webpack": "^4.1.0",
"webpack-cli": "^2.0.10",
"webpack-strip-block": "^0.2.0"
},
"publishConfig": {
"access": "restricted"
},
"config": {
"ghooks": {
"pre-commit": "npm run validate",
"commit-msg": "validate-commit-msg"
},
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"nyc": {
"check-coverage": true,
"statements": -5,
"branches": -5,
"functions": 100,
"lines": -2,
"require": [
"ts-node/register"
],
"reporter": [
"lcov",
"text"
],
"extension": [
".ts",
".js"
],
"include": [
"src/**/*.ts",
"src/**/*.js"
],
"exclude": [
"src/**/*.spec.ts",
"src/**/*.spec.js"
]
}
}