forked from HubSpot/hubspot-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
50 lines (50 loc) · 1.73 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": "hubspot-local-dev-tools",
"version": "1.0.0",
"description": "Local development tools for working with HubSpot",
"repository": "https://github.com/HubSpot/hubspot-cli",
"private": true,
"devDependencies": {
"depcheck": "1.3.1",
"eslint": "7.32.0",
"husky": "^1.3.1",
"lerna": "^6.6.1",
"lint-staged": "^10.5.4",
"madge": "^6.1.0",
"prettier": "^1.19.1",
"sass": "~1.29.0"
},
"workspaces": [
"packages/*",
"acceptance-tests"
],
"scripts": {
"check-deps": "node bin/depcheck.js",
"lint": "eslint . && prettier --list-different packages/**/*.{js,json}",
"prettier:write": "prettier --write packages/**/*.{js,json}",
"publish-release": "branch=$(git rev-parse --abbrev-ref HEAD) && [ $branch = main ] && yarn lerna publish --conventional-graduate --exact || echo 'Error: New release can only be published on main branch' >&2",
"publish-prerelease": "branch=$(git rev-parse --abbrev-ref HEAD) && [ $branch = main ] && yarn lerna publish prerelease --preid beta --dist-tag next --exact || echo 'Error: New release can only be published on main branch' >&2",
"test": "jest",
"test-cli": "cd acceptance-tests && yarn test-headless --stream",
"test-docker": "yarn build-docker && docker container run -it --rm --name=hs-cli-container hs-cli-image yarn test",
"build-docker": "docker image build --tag hs-cli-image . && docker image prune -f",
"circular-deps": "yarn madge --circular packages"
},
"lint-staged": {
"**/*.{js,scss,css}": [
"prettier -l",
"eslint"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {
"jest": "^29.5.0"
},
"resolutions": {
"depcheck/sass": "~1.29.0"
}
}