Skip to content

Commit

Permalink
ESM Rollup config
Browse files Browse the repository at this point in the history
  • Loading branch information
surol committed May 28, 2021
1 parent 1fc5d38 commit f7ec265
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@
"types": "./index.d.ts",
"exports": "./dist/route-match.js",
"dependencies": {
"@frontmeans/httongue": "^2.2.0",
"@proc7ts/primitives": "^2.2.0"
"@frontmeans/httongue": "^2.3.0",
"@proc7ts/primitives": "^3.0.0"
},
"devDependencies": {
"@jest/globals": "^27.0.1",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@run-z/eslint-config": "^1.2.1",
"@run-z/rollup-helpers": "^1.1.0",
"@run-z/rollup-helpers": "^1.1.1",
"@typescript-eslint/eslint-plugin": "^4.25.0",
"@typescript-eslint/parser": "^4.25.0",
"eslint": "^7.27.0",
Expand All @@ -40,7 +39,7 @@
"jest-junit": "^12.1.0",
"jest-mock": "^27.0.1",
"rollup": "^2.50.2",
"rollup-plugin-flat-dts": "^1.2.1",
"rollup-plugin-flat-dts": "^1.2.2",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.30.0",
"run-z": "^1.7.2",
Expand All @@ -52,7 +51,7 @@
},
"scripts": {
"all": "run-z build,lint,test",
"build": "run-z +z --then rollup --config rollup.config.js",
"build": "run-z +z --then rollup -c",
"ci:all": "run-z all +test/--ci/--runInBand",
"clean": "run-z +z --then shx rm -rf 'index.d.ts?(.map)' dist target",
"doc": "run-z +z --then typedoc",
Expand Down
2 changes: 0 additions & 2 deletions rollup.config.js → rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import commonjs from '@rollup/plugin-commonjs';
import nodeResolve from '@rollup/plugin-node-resolve';
import { externalModules } from '@run-z/rollup-helpers';
import flatDts from 'rollup-plugin-flat-dts';
Expand All @@ -11,7 +10,6 @@ export default {
'route-match': './src/index.ts',
},
plugins: [
commonjs(),
ts({
typescript,
tsconfig: 'tsconfig.main.json',
Expand Down

0 comments on commit f7ec265

Please sign in to comment.