Skip to content

Commit

Permalink
Update rollup config
Browse files Browse the repository at this point in the history
Fix tsconfig for rollup plugin
  • Loading branch information
Jack Steam committed Mar 12, 2020
1 parent 8516293 commit b4457e1
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 365 deletions.
30 changes: 13 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,14 @@
"types"
],
"scripts": {
"build": "run-p build:dev build:types",
"build": "run-s build:clean build:dev build:types",
"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",
"prepublish": "run-s build:pro build:types",
"build:clean": "rm -rf lib types",
"prepublishOnly": "run-s build:pro build:types",
"postpublish": "rm -rf node_modules package-lock.json && pnpm i",
"start": "run-p build:watch test:watch",
"test": "run-s test:quick test:e2e",
Expand All @@ -44,42 +45,37 @@
"preversion": "run-s test:quick"
},
"dependencies": {
"@rollup/plugin-sucrase": "^3.0.0",
"@types/chrome": "0.0.99",
"@types/node": "^13.9.0",
"rxjs": "^6.5.4"
},
"devDependencies": {
"@bumble/jest-chrome": "^0.5.1",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-typescript": "^3.0.0",
"@rollup/plugin-typescript": "^4.0.0",
"@sucrase/jest-plugin": "^2.0.0",
"@types/chrome": "0.0.98",
"@types/fs-extra": "^8.1.0",
"@types/jest": "^25.1.3",
"@types/jest": "^25.1.4",
"@types/jest-in-case": "^1.0.1",
"@types/node": "^13.7.7",
"@types/power-assert": "^1.5.3",
"@types/puppeteer": "^2.0.1",
"@types/sinon-chrome": "^2.2.6",
"@typescript-eslint/eslint-plugin": "^2.22.0",
"@typescript-eslint/parser": "^2.22.0",
"@typescript-eslint/eslint-plugin": "^2.23.0",
"@typescript-eslint/parser": "^2.23.0",
"chrome-promise": "^3.0.5",
"delay": "^4.3.0",
"eslint": "^6.8.0",
"eslint-plugin-jest": "^23.8.1",
"fs-extra": "^8.1.0",
"eslint-plugin-jest": "^23.8.2",
"jest": "^25.1.0",
"jest-in-case": "^1.0.2",
"npm-run-all": "^4.1.5",
"power-assert": "^1.6.1",
"prettier": "^1.19.1",
"prettier-plugin-packagejson": "^2.0.10",
"puppeteer": "^2.1.1",
"rollup": "^1.32.0",
"rollup": "^2.0.5",
"rollup-plugin-chrome-extension": "^2.1.3",
"rollup-plugin-empty-dir": "^1.0.4",
"rollup-plugin-zip": "^0.7.0",
"rollup-plugin-zip": "^1.0.0",
"rxjs": "^6.5.4",
"sort-package-json": "^1.40.0",
"ts-jest": "^25.2.1",
"tslib": "^1.11.1",
"typescript": "^3.8.3"
Expand Down
Loading

0 comments on commit b4457e1

Please sign in to comment.