Skip to content

Instantly share code, notes, and snippets.

@samvv
Last active February 23, 2021 19:50
Show Gist options
  • Save samvv/b655e544496163960b5fb6f9a931935b to your computer and use it in GitHub Desktop.
Save samvv/b655e544496163960b5fb6f9a931935b to your computer and use it in GitHub Desktop.
package.json with Bake integrated
{
"name": "myapp",
"private": true,
"version": "0.0.1",
"scripts": {
"watch:compile-tests": "tsc -w",
"watch:tests": "ava --watch",
"test": "ava",
"lint": "tsc --noEmit",
"prepare": "npm run lint && webpack --mode production",
"serve": "webpack serve --mode development",
"lint-while-testing": "bake lint test"
},
"dependencies": {
"somelib": "1.2.3"
},
"devDependencies": {
"@babel/core": "^7.13.1",
"@babel/preset-env": "^7.13.5",
"@samvv/bake": "0.1.1",
"ava": "^3.15.0",
"typescript": "^4.1.5",
"webpack": "^5.24.0",
"webpack-cli": "^4.5.0",
"webpack-dev-server": "^3.11.2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment