mirror of
https://github.com/mathuo/dockview
synced 2025-01-22 17:35:57 +00:00
chore: rename script commands
This commit is contained in:
parent
a084c8b5b0
commit
c4e2d1c645
@ -14,12 +14,12 @@
|
||||
},
|
||||
"homepage": "https://github.com/mathuo/dockview",
|
||||
"scripts": {
|
||||
"build:ci": "npm run build:cjs && npm run build:esm && npm run build:css",
|
||||
"build:package": "npm run build:cjs && npm run build:esm && npm run build:css",
|
||||
"build:cjs": "cross-env ../../node_modules/.bin/tsc --project ./tsconfig.json --extendedDiagnostics",
|
||||
"build:css": "gulp sass",
|
||||
"build:esm": "cross-env ../../node_modules/.bin/tsc --project ./tsconfig.esm.json --extendedDiagnostics",
|
||||
"build:modulefiles": "rollup -c",
|
||||
"build": "npm run build:ci && npm run build:modulefiles",
|
||||
"build:bundles": "rollup -c",
|
||||
"build": "npm run build:package && npm run build:bundles",
|
||||
"clean": "rimraf dist/ .build/ .rollup.cache/",
|
||||
"prepublishOnly": "npm run rebuild && npm run test",
|
||||
"docs": "typedoc",
|
||||
@ -65,4 +65,4 @@
|
||||
"rollup-plugin-postcss": "^4.0.2",
|
||||
"typedoc": "^0.23.25"
|
||||
}
|
||||
}
|
||||
}
|
@ -46,6 +46,7 @@ function createBundle(format, options) {
|
||||
const output = {
|
||||
file,
|
||||
format,
|
||||
sourcemap: true,
|
||||
globals: {},
|
||||
banner: [
|
||||
`/**`,
|
||||
@ -57,13 +58,9 @@ function createBundle(format, options) {
|
||||
].join('\n'),
|
||||
};
|
||||
|
||||
|
||||
const plugins = [
|
||||
typescript({
|
||||
tsconfig: 'tsconfig.esm.json',
|
||||
compilerOptions: {
|
||||
declaration: false,
|
||||
},
|
||||
}),
|
||||
];
|
||||
|
||||
|
@ -14,12 +14,12 @@
|
||||
},
|
||||
"homepage": "https://github.com/mathuo/dockview",
|
||||
"scripts": {
|
||||
"build:ci": "npm run build:cjs && npm run build:esm && npm run build:css",
|
||||
"build:package": "npm run build:cjs && npm run build:esm && npm run build:css",
|
||||
"build:cjs": "cross-env ../../node_modules/.bin/tsc --project ./tsconfig.json --extendedDiagnostics",
|
||||
"build:css": "gulp sass",
|
||||
"build:esm": "cross-env ../../node_modules/.bin/tsc --project ./tsconfig.esm.json --extendedDiagnostics",
|
||||
"build:modulefiles": "rollup -c",
|
||||
"build": "npm run build:ci && npm run build:modulefiles",
|
||||
"build:bundles": "rollup -c",
|
||||
"build": "npm run build:package && npm run build:bundles",
|
||||
"clean": "rimraf dist/ .build/ .rollup.cache/",
|
||||
"docs": "typedoc",
|
||||
"prepublishOnly": "npm run rebuild && npm run test",
|
||||
@ -73,4 +73,4 @@
|
||||
"rollup": "^3.15.0",
|
||||
"rollup-plugin-postcss": "^4.0.2"
|
||||
}
|
||||
}
|
||||
}
|
@ -47,6 +47,7 @@ function createBundle(format, options) {
|
||||
const output = {
|
||||
file,
|
||||
format,
|
||||
sourcemap: true,
|
||||
globals: {},
|
||||
banner: [
|
||||
`/**`,
|
||||
@ -64,8 +65,10 @@ function createBundle(format, options) {
|
||||
}),
|
||||
typescript({
|
||||
tsconfig: 'tsconfig.esm.json',
|
||||
sourcemap: true,
|
||||
compilerOptions: {
|
||||
declaration: false,
|
||||
sourcemap: true,
|
||||
},
|
||||
}),
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user