/
package.json
50 lines (50 loc) · 1.71 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
{
"name": "developer-ci-benefits-demo",
"version": "0.0.8",
"description": "This is a demo repo setup to go along with the Developer CI Benefits Talk",
"main": "index.js",
"repository": "git@github.com:yowainwright/developer-ci-benefits-demo.git",
"author": "Jeff Wainwright <yowainwright@gmail.com> (https://jeffry.in)",
"license": "MIT",
"devDependencies": {
"@types/jest": "^27.0.1",
"husky": "^8.0.1",
"jest": "^26.1.0",
"markdown-spellcheck": "^1.3.1",
"markdownlint-cli": "^0.32.1",
"standard-version": "^9.0.0",
"ts-jest": "^26.0.0",
"ts-lint": "^4.5.1",
"tslint-config-dollarshaveclub": "^8.0.0",
"typescript": "^4.0.2",
"write-good": "^1.0.0"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"grammar": "write-good *.md --no-passive",
"markdownlint": "markdownlint *.md -i CHANGELOG.md",
"prepush": "npm test",
"pre-commit-msg": "Echo 'Running pre-commit checks...' && exit 0",
"release": "standard-version",
"postrelease": "git push --follow-tags origin master && npm publish",
"spelling": "mdspell '**/*.md' '!**/node_modules/**/*.md' --ignore-numbers",
"spelling:ci": "mdspell '**/*.md' '!**/node_modules/**/*.md' --ignore-numbers --report",
"start": "npm i",
"test:jest": "jest --coverage",
"test": "npm run markdownlint && npm run grammar && npm run spelling && npm run test:jest",
"test:ci": "npm run markdownlint && npm run grammar && npm run spelling:ci && npm run test:jest"
},
"jest": {
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(ts?)$",
"moduleFileExtensions": [
"ts",
"js"
]
},
"quokka": {
"babel": true
}
}