Skip to content

Instantly share code, notes, and snippets.

@morphatic
Last active September 10, 2019 16:17
Show Gist options
  • Save morphatic/8ca2f2f35fec48477f46bcb6909eacf2 to your computer and use it in GitHub Desktop.
Save morphatic/8ca2f2f35fec48477f46bcb6909eacf2 to your computer and use it in GitHub Desktop.
Scripts section of package.json for morphatic/v-stripe-elements
{
"scripts": {
"build": "concurrently \"yarn build:dist --no-progress\" \"yarn build:lib\" -n \"dist,lib\" --kill-others-on-fail -r",
"build:dist": "rimraf dist && cross-env NODE_ENV=production webpack --config build/dist.js --progress",
"build:lib": "node build/lib.js",
"commit": "git-cz",
"coverage": "cat ./coverage/lcov.info | coveralls",
"dev": "cross-env NODE_ENV=development webpack-dev-server --config build/dev.js --hot",
"lint": "concurrently -n \"tsc,tslint,eslint\" --kill-others-on-fail \"tsc --noEmit --pretty\" \"tslint -p . src/**/*.ts -t verbose\" \"eslint --ext .js,.ts src\"",
"lint:fix": "concurrently -n \"tsc,tslint,eslint\" \"tsc --noEmit --pretty\" \"tslint --fix -p . src/**/*.ts -t verbose\" \"eslint --fix --ext .js,.ts src\"",
"release": "yarn run semantic-release",
"test": "node build/jest.js",
"test:coverage": "yarn test --coverage",
"test:unix": "cross-env NODE_ENV=test jest",
"test:watch": "yarn test --watch",
"test:win32": "cross-env NODE_ENV=test jest -i",
"tsc": "tsc",
"watch": "cross-env TARGET=development webpack --config build/dist.js --progress --hide-modules --watch",
"semantic-release": "semantic-release"
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment