-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
54 lines (54 loc) · 1.63 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": "@hubspot/serverless-dev-runtime",
"version": "7.0.2",
"description": "A tool for testing HubSpot CMS serverless functions locally",
"main": "index.js",
"repository": "https://github.com/HubSpot/serverless-dev-runtime",
"license": "Apache-2.0",
"dependencies": {
"body-parser": "1.20.3",
"chalk": "4.1.2",
"chokidar": "3.6.0",
"cors": "2.8.5",
"dotenv": "8.6.0",
"express": "4.21.0",
"fs-extra": "9.1.0",
"moment": "2.30.1",
"table": "6.8.2",
"tmp": "0.2.3"
},
"devDependencies": {
"eslint": "7.32.0",
"husky": "^1.3.1",
"lint-staged": "^10.5.4",
"prettier": "^1.19.1"
},
"peerDependencies": {
"@hubspot/local-dev-lib": "^3.1.0"
},
"scripts": {
"lint": "eslint . && prettier --list-different ./**/*.{js,json}",
"prettier:write": "prettier --write ./**/*.{js,json}",
"check-main": "branch=$(git rev-parse --abbrev-ref HEAD) && [ $branch = main ] || (echo 'Error: New release can only be published on main branch' && exit 1)",
"pub": "npm publish --tag latest",
"push": "git push --atomic origin main v$npm_package_version",
"release:major": "yarn check-main && yarn version --major && yarn pub && yarn push",
"release:minor": "yarn check-main && yarn version --minor && yarn pub && yarn push",
"release:patch": "yarn check-main && yarn version --patch && yarn pub && yarn push"
},
"lint-staged": {
"**/*.{js,scss,css}": [
"prettier -l",
"eslint"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}