|
16 | 16 | "sideEffects": [ |
17 | 17 | "@ui5/webcomponents-icons/dist/icons/*", |
18 | 18 | "@ui5/webcomponents/dist/*", |
19 | | - "@ui5/webcomponents-fiori/dist/*" |
| 19 | + "@ui5/webcomponents-fiori/dist/*", |
| 20 | + "./dist/Assets.js", |
| 21 | + "./dist/json-imports/*" |
20 | 22 | ], |
21 | 23 | "scripts": { |
22 | | - "clean": "rimraf cjs components enums interfaces internal lib webComponents index.esm.js index.d.ts assets json-imports", |
| 24 | + "clean": "rimraf cjs components enums interfaces internal lib webComponents index.esm.js index.d.ts dist", |
23 | 25 | "build": "npm-run-all -s build:i18n build:rollup", |
24 | 26 | "build:rollup": "rollup -c rollup.config.js", |
25 | | - "build:i18n": "npm-run-all -s build:i18n-bundles build:i18n-default build:i18n-imports", |
26 | | - "build:i18n-bundles": "mkdirp assets/i18n && node ../../node_modules/@ui5/webcomponents-tools/lib/i18n/toJSON.js src/i18n assets/i18n", |
27 | | - "build:i18n-default": "mkdirp assets/i18n && node ../../node_modules/@ui5/webcomponents-tools/lib/i18n/defaults.js src/i18n assets/i18n && tsc assets/i18n/i18n-defaults.js --allowJs --declaration --emitDeclarationOnly --declarationDir assets/i18n", |
28 | | - "build:i18n-imports": "mkdirp json-imports && node ../../scripts/generate-json-imports/i18n.js" |
| 27 | + "build:i18n": "npm-run-all -s build:i18n-bundles build:i18n-default build:i18n-imports build:assets", |
| 28 | + "build:i18n-bundles": "mkdirp dist/assets/i18n && node ../../node_modules/@ui5/webcomponents-tools/lib/i18n/toJSON.js src/i18n dist/assets/i18n", |
| 29 | + "build:i18n-default": "node ../../node_modules/@ui5/webcomponents-tools/lib/i18n/defaults.js src/i18n dist/assets/i18n && tsc dist/assets/i18n/i18n-defaults.js --allowJs --declaration --emitDeclarationOnly --declarationDir dist/assets/i18n", |
| 30 | + "build:i18n-imports": "mkdirp dist/json-imports && node ../../node_modules/@ui5/webcomponents-tools/lib/generate-json-imports/i18n.js dist/assets/i18n dist/json-imports/", |
| 31 | + "build:assets": "node ../../scripts/generate-assets/index.js" |
29 | 32 | }, |
30 | 33 | "dependencies": { |
31 | 34 | "@babel/runtime": "7.9.0", |
|
0 commit comments