fix(core): update
This commit is contained in:
parent
ac3ef390e8
commit
71c917b32f
1969
package-lock.json
generated
1969
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
36
package.json
36
package.json
@ -16,36 +16,36 @@
|
||||
"tsbundle": "cli.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@gitzone/tsbuild": "^2.1.17",
|
||||
"@gitzone/tsbuild": "^2.1.20",
|
||||
"@gitzone/tsrun": "^1.2.8",
|
||||
"@gitzone/tstest": "^1.0.28",
|
||||
"@pushrocks/tapbundle": "^3.2.0",
|
||||
"tslint": "^6.0.0",
|
||||
"tslint": "^6.1.0",
|
||||
"tslint-config-prettier": "^1.15.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/node": "^13.9.0",
|
||||
"@babel/core": "^7.6.2",
|
||||
"@babel/plugin-proposal-class-properties": "^7.5.5",
|
||||
"@babel/plugin-proposal-decorators": "^7.6.0",
|
||||
"@babel/plugin-transform-runtime": "^7.6.2",
|
||||
"@babel/preset-env": "^7.6.2",
|
||||
"@babel/runtime": "^7.6.2",
|
||||
"@babel/core": "^7.8.7",
|
||||
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
||||
"@babel/plugin-proposal-decorators": "^7.8.3",
|
||||
"@babel/plugin-transform-runtime": "^7.8.3",
|
||||
"@babel/preset-env": "^7.8.7",
|
||||
"@babel/runtime": "^7.8.7",
|
||||
"@pushrocks/early": "^3.0.3",
|
||||
"@pushrocks/smartcli": "^3.0.7",
|
||||
"@pushrocks/smartfile": "^7.0.8",
|
||||
"@pushrocks/smartcli": "^3.0.9",
|
||||
"@pushrocks/smartfile": "^7.0.9",
|
||||
"@pushrocks/smartlog": "^2.0.21",
|
||||
"@pushrocks/smartlog-destination-local": "^8.0.2",
|
||||
"@rollup/plugin-commonjs": "^11.0.2",
|
||||
"@rollup/plugin-node-resolve": "^7.1.1",
|
||||
"@rollup/plugin-typescript": "^4.0.0",
|
||||
"@types/html-minifier": "^3.5.3",
|
||||
"@types/node": "^13.9.1",
|
||||
"html-minifier": "^4.0.0",
|
||||
"rollup": "^1.32.0",
|
||||
"rollup-plugin-babel": "^4.3.2",
|
||||
"rollup-plugin-commonjs": "^10.1.0",
|
||||
"rollup-plugin-node-resolve": "^5.2.0",
|
||||
"rollup": "^2.0.6",
|
||||
"rollup-plugin-babel": "^4.4.0",
|
||||
"rollup-plugin-sourcemaps": "^0.5.0",
|
||||
"rollup-plugin-terser": "^5.2.0",
|
||||
"rollup-plugin-typescript2": "^0.26.0",
|
||||
"terser": "^4.6.4"
|
||||
"rollup-plugin-terser": "^5.3.0",
|
||||
"terser": "^4.6.6"
|
||||
},
|
||||
"files": [
|
||||
"ts/*",
|
||||
|
@ -25,19 +25,14 @@ export class TsBundle {
|
||||
plugins: [
|
||||
// Compile TypeScript files
|
||||
plugins.rollupTypescript({
|
||||
useTsconfigDeclarationDir: true,
|
||||
tsconfigOverride: {
|
||||
compilerOptions: {
|
||||
declaration: true,
|
||||
emitDecoratorMetadata: true,
|
||||
experimentalDecorators: true,
|
||||
inlineSourceMap: true,
|
||||
noEmitOnError: true,
|
||||
lib: ['esnext', 'dom'],
|
||||
target: 'es2018',
|
||||
noImplicitAny: false
|
||||
}
|
||||
}
|
||||
declaration: false,
|
||||
emitDecoratorMetadata: true,
|
||||
experimentalDecorators: true,
|
||||
inlineSourceMap: true,
|
||||
noEmitOnError: true,
|
||||
lib: ['esnext', 'dom'],
|
||||
noImplicitAny: false,
|
||||
target: 'es2018'
|
||||
}),
|
||||
// Allow node_modules resolution, so you can use 'external' to control
|
||||
// which external modules to include in the bundle
|
||||
|
@ -4,3 +4,4 @@ export const cwd = process.cwd();
|
||||
export const packageDir = plugins.path.join(__dirname, '../');
|
||||
export const htmlDir = plugins.path.join(cwd, './html');
|
||||
export const distWebDir = plugins.path.join(cwd, './dist_web');
|
||||
export const assetsDir = plugins.path.join(packageDir, 'assets');
|
||||
|
@ -14,11 +14,11 @@ export { smartcli, smartfile, smartlog, smartlogDestinationLocal };
|
||||
// third party scope
|
||||
import * as rollup from 'rollup';
|
||||
import rollupBabel from 'rollup-plugin-babel';
|
||||
import rollupCommonjs from 'rollup-plugin-commonjs';
|
||||
import rollupResolve from 'rollup-plugin-node-resolve';
|
||||
import rollupCommonjs from '@rollup/plugin-commonjs';
|
||||
import rollupResolve from '@rollup/plugin-node-resolve';
|
||||
import rollupSourceMaps from 'rollup-plugin-sourcemaps';
|
||||
import { terser as rollupTerser } from 'rollup-plugin-terser';
|
||||
import rollupTypescript from 'rollup-plugin-typescript2';
|
||||
import rollupTypescript from '@rollup/plugin-typescript';
|
||||
|
||||
import * as htmlMinifier from 'html-minifier';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user