1,820 changes: 1,089 additions & 731 deletions package-lock.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"dist/mobiledoc.cjs",
"dist/mobiledoc.css"
],
"author": "Garth Poitras <garth22@gmail.com> (http://garthpoitras.com/)",
"author": "Garth Poitras <garth22@gmail.com> (https://www.garthpoitras.com)",
"contributors": [
"Zahra Jabini <zahra.arch@gmail.com> (http://zahraism.com/)",
"Tom Dale <tom@tomdale.net> (https://tomdale.net)",
Expand All @@ -44,29 +44,29 @@
],
"license": "MIT",
"dependencies": {
"mobiledoc-dom-renderer": "0.7.1",
"mobiledoc-dom-renderer": "0.7.2",
"mobiledoc-text-renderer": "0.4.1"
},
"devDependencies": {
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-typescript": "^5.0.2",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.3.4",
"@types/jquery": "^3.5.14",
"@types/qunit": "^2.19.2",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"@typescript-eslint/parser": "^3.6.1",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"conventional-changelog-cli": "^2.2.2",
"eslint": "^7.4.0",
"eslint-config-prettier": "^6.11.0",
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"jquery": "^3.6.0",
"jsdoc": "^3.6.5",
"prettier": "^2.7.1",
"qunit": "^2.19.1",
"rollup": "^2.77.3",
"rollup": "^2.78.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-glob-import": "^0.4.5",
"rollup-plugin-serve": "^1.0.4",
"rollup-plugin-glob-import": "^0.5.0",
"rollup-plugin-serve": "^2.0.1",
"saucie": "^3.3.3",
"testem": "^3.2.0",
"tslib": "^2.4.0",
Expand Down
14 changes: 7 additions & 7 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import typescript from '@rollup/plugin-typescript'

function commonPlugins() {
return [
resolve({ extensions: ['.js', '.ts'] }),
commonjs(),
alias({
entries: [
{
Expand All @@ -19,6 +17,8 @@ function commonPlugins() {
},
],
}),
resolve({ extensions: ['.js', '.ts'] }),
commonjs(),
typescript({ noEmitOnError: false }),
]
}
Expand All @@ -30,17 +30,17 @@ export default args => [
output: {
file: 'dist/mobiledoc.js',
format: 'es',
sourcemap: true
}
sourcemap: true,
},
},
{
input: 'src/js/index.ts',
plugins: commonPlugins(),
output: {
file: 'dist/mobiledoc.cjs',
format: 'cjs',
sourcemap: true
}
sourcemap: true,
},
},
{
input: 'tests/index.ts',
Expand All @@ -49,7 +49,7 @@ export default args => [
globImport({
// without this option, the plugin will try to parse imported files (as
// JS) and fail with TS files
format: 'import'
format: 'import',
}),
copy({
targets: [
Expand Down
760 changes: 419 additions & 341 deletions yarn.lock

Large diffs are not rendered by default.