mirror of
https://github.com/mathuo/dockview
synced 2025-02-02 14:35:46 +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",
|
"homepage": "https://github.com/mathuo/dockview",
|
||||||
"scripts": {
|
"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:cjs": "cross-env ../../node_modules/.bin/tsc --project ./tsconfig.json --extendedDiagnostics",
|
||||||
"build:css": "gulp sass",
|
"build:css": "gulp sass",
|
||||||
"build:esm": "cross-env ../../node_modules/.bin/tsc --project ./tsconfig.esm.json --extendedDiagnostics",
|
"build:esm": "cross-env ../../node_modules/.bin/tsc --project ./tsconfig.esm.json --extendedDiagnostics",
|
||||||
"build:modulefiles": "rollup -c",
|
"build:bundles": "rollup -c",
|
||||||
"build": "npm run build:ci && npm run build:modulefiles",
|
"build": "npm run build:package && npm run build:bundles",
|
||||||
"clean": "rimraf dist/ .build/ .rollup.cache/",
|
"clean": "rimraf dist/ .build/ .rollup.cache/",
|
||||||
"prepublishOnly": "npm run rebuild && npm run test",
|
"prepublishOnly": "npm run rebuild && npm run test",
|
||||||
"docs": "typedoc",
|
"docs": "typedoc",
|
||||||
|
@ -46,6 +46,7 @@ function createBundle(format, options) {
|
|||||||
const output = {
|
const output = {
|
||||||
file,
|
file,
|
||||||
format,
|
format,
|
||||||
|
sourcemap: true,
|
||||||
globals: {},
|
globals: {},
|
||||||
banner: [
|
banner: [
|
||||||
`/**`,
|
`/**`,
|
||||||
@ -57,13 +58,9 @@ function createBundle(format, options) {
|
|||||||
].join('\n'),
|
].join('\n'),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
const plugins = [
|
const plugins = [
|
||||||
typescript({
|
typescript({
|
||||||
tsconfig: 'tsconfig.esm.json',
|
tsconfig: 'tsconfig.esm.json',
|
||||||
compilerOptions: {
|
|
||||||
declaration: false,
|
|
||||||
},
|
|
||||||
}),
|
}),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -14,12 +14,12 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/mathuo/dockview",
|
"homepage": "https://github.com/mathuo/dockview",
|
||||||
"scripts": {
|
"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:cjs": "cross-env ../../node_modules/.bin/tsc --project ./tsconfig.json --extendedDiagnostics",
|
||||||
"build:css": "gulp sass",
|
"build:css": "gulp sass",
|
||||||
"build:esm": "cross-env ../../node_modules/.bin/tsc --project ./tsconfig.esm.json --extendedDiagnostics",
|
"build:esm": "cross-env ../../node_modules/.bin/tsc --project ./tsconfig.esm.json --extendedDiagnostics",
|
||||||
"build:modulefiles": "rollup -c",
|
"build:bundles": "rollup -c",
|
||||||
"build": "npm run build:ci && npm run build:modulefiles",
|
"build": "npm run build:package && npm run build:bundles",
|
||||||
"clean": "rimraf dist/ .build/ .rollup.cache/",
|
"clean": "rimraf dist/ .build/ .rollup.cache/",
|
||||||
"docs": "typedoc",
|
"docs": "typedoc",
|
||||||
"prepublishOnly": "npm run rebuild && npm run test",
|
"prepublishOnly": "npm run rebuild && npm run test",
|
||||||
|
@ -47,6 +47,7 @@ function createBundle(format, options) {
|
|||||||
const output = {
|
const output = {
|
||||||
file,
|
file,
|
||||||
format,
|
format,
|
||||||
|
sourcemap: true,
|
||||||
globals: {},
|
globals: {},
|
||||||
banner: [
|
banner: [
|
||||||
`/**`,
|
`/**`,
|
||||||
@ -64,8 +65,10 @@ function createBundle(format, options) {
|
|||||||
}),
|
}),
|
||||||
typescript({
|
typescript({
|
||||||
tsconfig: 'tsconfig.esm.json',
|
tsconfig: 'tsconfig.esm.json',
|
||||||
|
sourcemap: true,
|
||||||
compilerOptions: {
|
compilerOptions: {
|
||||||
declaration: false,
|
declaration: false,
|
||||||
|
sourcemap: true,
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user