-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathpackage.json
49 lines (49 loc) · 1.53 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
{
"name": "hubspot-cms-tools",
"version": "1.0.0",
"description": "CLI tools for working with HubSpot",
"repository": "https://github.com/HubSpot/hubspot-cms-tools",
"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": "^4.0.1",
"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 = master ] && yarn lerna publish --conventional-graduate --exact || echo 'Error: New release can only be published on master branch' >&2",
"publish-prerelease": "branch=$(git rev-parse --abbrev-ref HEAD) && [ $branch = master ] && yarn lerna publish prerelease --preid beta --dist-tag next --exact || echo 'Error: New release can only be published on master branch' >&2",
"test": "jest",
"test-cli": "lerna run test-headless --stream",
"jest": "jest --watch",
"circular-deps": "yarn madge --circular packages"
},
"lint-staged": {
"**/*.{js,scss,css}": [
"prettier -l",
"eslint"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {
"jest": "^26.6.3"
},
"resolutions": {
"depcheck/sass": "~1.29.0"
}
}