Skip to content

Instantly share code, notes, and snippets.

@serhii-havrylenko
Created October 28, 2018 13:54
Show Gist options
  • Save serhii-havrylenko/613c302a6923607d5bc72253df96f15d to your computer and use it in GitHub Desktop.
Save serhii-havrylenko/613c302a6923607d5bc72253df96f15d to your computer and use it in GitHub Desktop.
{
"scripts": {
"prebuild": "run-p tsc lint test",
"build": "lerna exec --parallel 'BABEL_ENV=build babel src --root-mode upward --out-dir dist --source-maps --extensions .ts,.tsx --delete-dir-on-start --no-comments'",
"lint:css": "stylelint 'packages/**/*.ts{,x}'",
"lint:ts": "run-p -c lint:ts-*",
"lint:ts-prod": "tslint --config tslint.prod.json 'packages/**/*.ts{,x}' --exclude '**/*.{test,story}.ts{,x}'",
"lint:ts-test": "tslint --config tslint.test.json 'packages/**/*.{test,story}.ts{,x}'",
"lint": "run-p -c lint:*",
"test": "jest",
"tsc": "tsc"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment