joyent-portal/package.json
Sérgio Ramos 65a104f7d4 chore: implement a publish script
- checks whether branch is `master`
- checks whether the tree is clean
- checks whether HEAD doesn't match origin
- publishes using lerna
- updates root version based on --staging/--dev/--production flags
- tags tapo with name `${pkg.name}@${pkg.version}`
- pushes tag to origin

that creates and pushes a repo tag afterwards
2017-05-26 10:20:05 +01:00

79 lines
2.6 KiB
JSON

{
"name": "container-pilot-dashboard",
"version": "1.0.0",
"private": true,
"license": "MPL-2.0",
"repository": "github:yldio/joyent-portal",
"scripts": {
"format": "./scripts/format",
"test-staged": "./scripts/run-staged-pkg --test",
"lint-staged": "./scripts/run-staged-pkg --lint",
"format-staged": "run-s \"format -- --staged\"",
"test": "lerna run test",
"lint-license": "./scripts/license-to-fail",
"lint-docs": "./scripts/quality-docs",
"lint:packages": "lerna run lint",
"lint:root": "eslint scripts/*.js --fix --format=tap",
"lint": "run-s lint:*",
"updt:root": "ncu -au",
"updt:packages": "lerna exec ncu -au",
"updt:teardown": "run-s clean bootstrap",
"updt": "run-s updt:*",
"publish": "./scripts/publish",
"clean": "lerna clean --yes",
"bootstrap": "lerna bootstrap",
"prepare": "run-s clean bootstrap",
"commitmsg": "conventional-changelog-lint -e",
"precommit": "run-s lint-staged format-staged test-staged",
"dev:ui-toolkit": "lerna run watch --scope joyent-ui-toolkit",
"dev:cp-frontend": "lerna run start --scope joyent-cp-frontend",
"dev:gql-mock-server": "lerna run dev --scope joyent-cp-gql-mock-server",
"dev": "run-p dev:*",
"wizard": "lerna-wizard"
},
"devDependencies": {
"apr-awaitify": "^1.0.4",
"apr-filter": "^1.0.5",
"apr-for-each": "^1.0.6",
"apr-main": "^1.0.7",
"apr-map": "^1.0.5",
"babel-eslint": "^7.2.3",
"conventional-changelog-angular": "^1.3.3",
"conventional-changelog-cli": "^1.3.1",
"conventional-changelog-lint": "^1.1.9",
"conventional-changelog-lint-config-angular": "^0.4.1",
"conventional-changelog-lint-config-lerna-scopes": "^1.0.0",
"eslint": "^3.19.0",
"eslint-config-prettier": "^2.1.1",
"eslint-config-react-app": "^1.0.4",
"eslint-config-xo-space": "^0.16.0",
"eslint-plugin-flowtype": "^2.33.0",
"eslint-plugin-import": "^2.3.0",
"eslint-plugin-jsx-a11y": "^5.0.3",
"eslint-plugin-prettier": "^2.1.1",
"eslint-plugin-react": "^7.0.1",
"eslint-tap": "^2.0.1",
"execa": "^0.6.3",
"force-array": "^3.1.0",
"husky": "^0.13.3",
"lerna": "^2.0.0-rc.5",
"lerna-wizard": "ramitos/lerna-wizard#7bcdc11",
"license-to-fail": "^2.2.0",
"listr": "^0.12.0",
"lodash.uniq": "^4.5.0",
"npm-check-updates": "^2.11.2",
"npm-run-all": "^4.0.2",
"prettier": "1.3.1",
"quality-docs": "^3.3.0",
"semver": "^5.3.0",
"staged-git-files": "0.0.4",
"yargs": "^8.0.1"
},
"config": {
"fmt-opt-out": [
"portal-data",
"portal-api",
"control-tower"
]
}
}