/
package.json
54 lines (54 loc) · 1.37 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
{
"name": "broccoli-and-carrots",
"version": "0.0.0",
"description": "Data structures and algorithms in TypeScript",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "ISC",
"author": "Joshua D. Graber <joshua.d.graber@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/joshuagraber/broccoli-and-carrots.git"
},
"scripts": {
"build": "tsc -p .",
"commit": "npx git-cz",
"lint": "eslint",
"lint-staged": "lint-staged",
"semantic-release": "semantic-release",
"test": "jest --config jest.config.js --maxWorkers=1",
"test:ci": "test --watchAll=false"
},
"prepublish": "tsc",
"dependencies": {},
"devDependencies": {
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"husky": "^8.0.3",
"jest": "^29.6.3",
"lint-staged": "^14.0.1",
"prettier": "^3.0.2",
"semantic-release": "^21.0.9",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run test",
"pre-push": "lint-staged && npm run test"
}
},
"lint-staged": {
"**/*.ts": [
"eslint"
]
}
}