-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
24 lines (24 loc) · 1.45 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
{
"name": "shipengine-connect",
"description": "ShipEngine Connect",
"repository": "[email protected]:ShipEngine/connect.git",
"author": "ShipEngine Connect <[email protected]>",
"license": "Apache-2.0",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build:clean": "cd $INIT_CWD && rm -rf .nyc_output coverage lib tsconfig.tsbuildinfo",
"build:ts": "cd $INIT_CWD && tsc --build",
"build:watch": "cd $INIT_CWD && tsc --watch",
"clean:tags": "git tag -l | xargs git tag -d && git fetch -t",
"dist-clean": "yarn workspaces foreach run clean && rm -rf node_modules packages/*/node_modules",
"test:coverage": "cd $INIT_CWD && nyc node_modules/mocha/bin/mocha",
"version:bump:all": "yarn node ./scripts/increment-versions.js",
"version:bump": "cd $INIT_CWD && yarn version ${BUMP_RELEASE_TYPE:-patch} && git add ../../.yarn/versions/* && git commit -m \"increment ${BUMP_RELEASE_TYPE:-patch} version for $(basename $INIT_CWD)\"",
"version:lookup": "cd $INIT_CWD && node -e 'console.log(require(\"./package.json\").version)'",
"version:release": "cd $INIT_CWD && yarn clean && yarn build && yarn test && yarn version apply && git commit -a -m \"release $(basename $INIT_CWD) v$(yarn run version:lookup)\"",
"version:tag": "cd $INIT_CWD && git tag -a \"$(basename $INIT_CWD)_v${NEW_VERSION:-$(yarn run version:lookup)}\" -m \"release $(basename $INIT_CWD) v${NEW_VERSION:-$(yarn run version:lookup)}\""
}
}