Skip to content

Commit

Permalink
chore: upgrade rxjs and switch to peerDep
Browse files Browse the repository at this point in the history
tests: upgrade typescript and ts-jest
  • Loading branch information
jacksteamdev committed May 25, 2021
1 parent 8c590f7 commit a8d0498
Show file tree
Hide file tree
Showing 3 changed files with 2,238 additions and 2,462 deletions.
6 changes: 0 additions & 6 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
globals: {
'ts-jest': {
packageJson: 'package.json',
tsConfig: 'tsconfig.json',
},
},
setupFilesAfterEnv: ['./tests/jest.setup.ts'],
testPathIgnorePatterns: ['/node_modules/', '/playground/'],
}
20 changes: 11 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"repository": "github:extend-chrome/messages",
"license": "MIT",
"author": "Jack and Amy Steam <[email protected]>",
"main": "lib/index.cjs.js",
"module": "lib/index.esm.js",
"types": "types/index.d.ts",
"files": [
"lib",
"types"
],
"main": "lib/index.cjs.js",
"module": "lib/index.esm.js",
"types": "types/index.d.ts",
"scripts": {
"build": "run-s build:clean build:pro build:types build:copy",
"build:clean": "rm -rf lib types",
Expand All @@ -40,8 +40,7 @@
},
"dependencies": {
"@types/chrome": "0.0.99",
"@types/node": "^13.9.0",
"rxjs": "^6.5.4"
"@types/node": "^13.9.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.0.0",
Expand Down Expand Up @@ -69,9 +68,12 @@
"rollup-plugin-chrome-extension": "^3.4.0",
"rollup-plugin-empty-dir": "^1.0.4",
"rollup-plugin-zip": "^1.0.0",
"rxjs": "^6.5.4",
"ts-jest": "^25.2.1",
"tslib": "^1.11.1",
"typescript": "^3.8.3"
"rxjs": "^7.1.0",
"ts-jest": "^26.5.6",
"tslib": "^2.2.0",
"typescript": "^4.2.4"
},
"peerDependencies": {
"rxjs": "^6.5.4 || ^7.1.0"
}
}
Loading

0 comments on commit a8d0498

Please sign in to comment.