Skip to content

Commit

Permalink
Fix npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksteamdev committed Jun 12, 2020
1 parent ba4e6e6 commit 8274e56
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 6 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,22 @@
"types"
],
"scripts": {
"build": "run-s build:clean build:dev build:types",
"build": "run-s build:clean build:pro build:types build:copy",
"build:dev": "rollup -c --environment NODE_ENV:development",
"build:pro": "rollup -c --environment NODE_ENV:production",
"build:testExtension": "rm -rf tests/e2e/extension-build && rollup -c tests/e2e/extension-src/rollup.config.js",
"build:types": "tsc -p tsconfig.d.json",
"build:watch": "npm run build:dev -- -w",
"build:clean": "rm -rf lib types",
"prepublishOnly": "run-s build:pro build:types",
"build:copy": "copyfiles -u 1 src/*.d.ts types",
"prepublishOnly": "npm run build",
"postpublish": "rm -rf node_modules package-lock.json && pnpm i",
"start": "run-p build:watch test:watch",
"test": "run-s test:quick test:e2e",
"test:e2e": "run-s build:testExtension && jest e2e",
"test:quick": "jest --testPathIgnorePatterns=e2e",
"test:watch": "jest --testPathIgnorePatterns=e2e --watch",
"preversion": "run-s test:quick"
"preversion": "npm run test:quick"
},
"dependencies": {
"@types/chrome": "0.0.99",
Expand All @@ -61,6 +62,7 @@
"@typescript-eslint/eslint-plugin": "^2.23.0",
"@typescript-eslint/parser": "^2.23.0",
"chrome-promise": "^3.0.5",
"copyfiles": "^2.3.0",
"delay": "^4.3.0",
"eslint": "^6.8.0",
"eslint-plugin-jest": "^23.8.2",
Expand Down
91 changes: 88 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8274e56

Please sign in to comment.