-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
114 lines (114 loc) · 3.61 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
{
"name": "typescript-bootstrap",
"version": "0.0.0-development",
"description": "A TypeScript bootstrap project.",
"main": "./lib/main.umd.ts",
"module": "./lib/main.es.js",
"types": "./lib/index.d.ts",
"scripts": {
"start": "node .",
"build": "tsc",
"bundle": "npm run build; rollup --config rollup.config.js",
"clean": "rm -rf build/* dist/* docs/* lib/*",
"commit": "git add --all && git-cz",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"docs": "typedoc --excludeExternals --externalPattern \"node_modules/**\" --ignoreCompilerErrors --name TypeScript\\ Bootstrap --out docs/ --mode file --module umd --target ESNEXT --readme none src/*",
"lint": "eslint -c .eslintrc.json src/**/*.ts --quiet",
"lint:fix": "eslint -c .eslintrc.json src/**/*.ts --fix --quiet",
"semantic-release": "semantic-release",
"setup:all": "npm run setup:semantic-release && npm run setup:commitizen && npm run setup:update-package-json",
"setup:update-package-json": "sed -i .orig '3s/.*/ \"version\": \"0.0.0-semantically-released\",/' package.json",
"setup:commitizen": "commitizen init cz-conventional-changelog --save-dev --save-exact",
"setup:semantic-release": "semantic-release-cli setup",
"test": "npm run test:all",
"test:all": "jest --coverage",
"test:functional": "jest test/functional/**/*\\.spec\\.[jt]s",
"test:integration": "jest test/integration/**/*\\.spec\\.[jt]s",
"test:unit": "jest test/unit/**/*\\.spec\\.[jt]s",
"watch": "tsc; rollup --config rollup.config.js --watch.exclude \"node_modules/**\" "
},
"repository": {
"type": "git",
"url": "https://github.com/srepollock/typescript-bootstrap.git"
},
"keywords": [
"typescript",
"nodejs",
"template",
"bootstrap",
"commitizen",
"semantic-release"
],
"author": "Spencer Pollock <spencer@spollock.ca>",
"license": "MIT",
"bugs": {
"url": "https://github.com/srepollock/typescript-bootstrap/issues"
},
"homepage": "http://spollock.ca/typescript-bootstrap/",
"dependencies": {},
"devDependencies": {
"@joseph184/rollup-plugin-node-builtins": "^2.1.4",
"@types/jest": "^26.0.4",
"@types/node": "*",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/eslint-plugin-tslint": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"babel-jest": "^24.8.0",
"codecov": "^3.2.0",
"commitizen": "^4.2.2",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^6.2.0",
"jest": "^24.9.0",
"nyc": "^15.1.0",
"rollup": "^1.20.3",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-typescript2": "^0.22.0",
"semantic-release": "^17.1.1",
"semantic-release-cli": "^4.1.0",
"ts-jest": "^26.4.3",
"tslint-to-eslint-config": "^0.2.4",
"typedoc": "^0.17.8",
"typescript": "^3.9.6"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"jest": {
"coverageDirectory": "<rootDir>/coverage",
"coverageReporters": [
"lcov",
"text"
],
"coverageThreshold": {
"global": {
"functions": 70,
"branches": 50,
"lines": 70,
"statements": 50
}
},
"preset": "ts-jest",
"moduleFileExtensions": [
"js",
"ts",
"tsx"
],
"modulePaths": [
"<rootDir>"
],
"verbose": true,
"collectCoverageFrom": [
"<rootDir>/src/"
],
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"testPathIgnorePatterns": []
},
"release": {
"branches": "main"
}
}