-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
68 lines (68 loc) · 2.19 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
{
"name": "given",
"version": "0.0.0",
"author": {
"name": "Shai Reznik",
"company": "HiRez.io"
},
"license": "MIT",
"private": true,
"scripts": {
"commit": "git-cz",
"build": "lerna run build",
"format:fix": "pretty-quick --staged",
"lerna:publish": "lerna publish from-git --yes",
"lerna:version": "lerna version",
"lerna:version:ci": "lerna version --yes",
"lint": "eslint . --ext .js,.ts",
"lint:commitmsg": "commitlint -E HUSKY_GIT_PARAMS",
"test": "run-s test:jasmine:coverage test:jest",
"test:full": "run-s lint test",
"test:jasmine": "ts-node --project packages/jasmine-given/tsconfig.json -r tsconfig-paths/register node_modules/jasmine/bin/jasmine.js JASMINE_CONFIG_PATH=packages/jasmine-given/jasmine.json",
"test:jasmine:coverage": "nyc -r lcov --r text-summary -e .ts -x \"**/*.spec.ts\" yarn test:jasmine",
"test:jasmine:watch": "nodemon --ext ts --watch \"shared/given-core/**/*.ts\" --watch \"packages/jasmine-given/**/*.ts\" --exec \"yarn test:jasmine:coverage\"",
"test:jest": "jest -c packages/jest-given/jest.config.js",
"test:jest:watch": "jest -c packages/jest-given/jest.config.js --watchAll",
"update-core-hash": "node update-core-hash"
},
"workspaces": [
"packages/*"
],
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "yarn format:fix",
"commit-msg": "yarn lint:commitmsg",
"post-commit": "yarn update-core-hash"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"@types/node": "18.6.1",
"@typescript-eslint/eslint-plugin": "5.30.7",
"@typescript-eslint/parser": "5.30.7",
"commitizen": "4.2.5",
"cz-conventional-changelog": "3.3.0",
"eslint": "8.20.0",
"eslint-config-prettier": "8.5.0",
"execa": "4.0.3",
"husky": "4.2.5",
"lerna": "^3.22.1",
"npm-run-all": "^4.1.5",
"prettier": "2.7.1",
"pretty-quick": "3.1.3",
"rimraf": "^3.0.2",
"ts-node": "10.9.1",
"typescript": "4.7.4"
}
}