|
8 | 8 | "url": "https://github.com/surveyjs/survey-creator.git"
|
9 | 9 | },
|
10 | 10 | "scripts": {
|
11 |
| - "build": "webpack --env buildType=dev --env emitDeclarations --env emitStyles --env emitNonSourceFiles && webpack --env buildType=prod --env emitStyles && webpack --config ./webpack.fesm.js --env buildType=prod", |
12 |
| - "build:i18n": "webpack --config ./webpack.i18n.js --env buildType=dev && webpack --config ./webpack.i18n.js --env buildType=prod && webpack --config ./webpack.i18n.fesm.js --env buildType=prod", |
13 |
| - "build:themes": "node creator-themes-import.js && webpack --config ./webpack.themes.config.js --env buildType=dev --env emitDeclarations && webpack --config ./webpack.themes.config.js --env buildType=prod && webpack --config ./webpack.themes.fesm.config.js --env buildType=prod", |
| 11 | + "build": "webpack --env buildType=dev --env emitDeclarations --env emitStyles --env emitNonSourceFiles && webpack --env buildType=prod --env emitStyles && rollup -c", |
| 12 | + "build:i18n": "webpack --config ./webpack.i18n.js --env buildType=dev && webpack --config ./webpack.i18n.js --env buildType=prod && rollup -c rollup.i18n.config.js", |
| 13 | + "build:themes": "node creator-themes-import.js && webpack --config ./webpack.themes.config.js --env buildType=dev --env emitDeclarations && webpack --config ./webpack.themes.config.js --env buildType=prod && rollup -c rollup.themes.config.js", |
14 | 14 | "build:all": "npm run build && npm run build:i18n && npm run build:themes",
|
15 | 15 | "test": "jest",
|
16 | 16 | "test:cov": "jest --coverage",
|
17 | 17 | "test:dev": "jest --watch",
|
18 | 18 | "test:postcss": "postcss build/survey-creator-core.css --silent -u postcss-calc -u autoprefixer -u postcss-fail-on-warn -o survey-creator-core.postcss.css && rimraf survey-creator-core.postcss.css",
|
19 | 19 | "doc_gen": "node doc_generator/editor_docgenerator.js src/entries/index.ts",
|
20 |
| - "watch:dev": "concurrently \"webpack --env buildType=dev --watch --env emitDeclarations --env emitStyles\" \"webpack --config ./webpack.fesm.js --env buildType=prod --watch\" ", |
| 20 | + "watch:dev": "concurrently \"webpack --env buildType=dev --watch --env emitDeclarations --env emitStyles\" \"rollup -c -w\" ", |
21 | 21 | "watch:prod": "webpack --env buildType=prod --watch",
|
22 | 22 | "release": "standard-version --message \"Release: %s [azurepipelines skip]\"",
|
23 | 23 | "remove-package-lock": "rimraf package-lock.json",
|
|
27 | 27 | "survey-core": "../../../survey-library/packages/survey-core/build"
|
28 | 28 | },
|
29 | 29 | "devDependencies": {
|
| 30 | + "@rollup/plugin-commonjs": "^28.0.2", |
| 31 | + "@rollup/plugin-node-resolve": "^16.0.0", |
| 32 | + "@rollup/plugin-replace": "^6.0.2", |
| 33 | + "@rollup/plugin-typescript": "^12.1.2", |
30 | 34 | "@types/ace": "0.0.32",
|
31 | 35 | "@types/jest": "^26.0.24",
|
32 | 36 | "@types/node": "7.0.4",
|
|
37 | 41 | "concurrently": "^5.2.0",
|
38 | 42 | "copy-webpack-plugin": "^6.3.1",
|
39 | 43 | "css-loader": "^7.1.2",
|
| 44 | + "fast-glob": "^3.3.3", |
40 | 45 | "html-loader": "^5.0.0",
|
41 | 46 | "http-server": "^14.1.1",
|
42 | 47 | "jest": "^29.7.0",
|
|
51 | 56 | "postcss-cli": "10.1.0",
|
52 | 57 | "postcss-fail-on-warn": "0.2.1",
|
53 | 58 | "rimraf": "2.5.4",
|
| 59 | + "rollup": "^4.34.8", |
| 60 | + "rollup-plugin-license": "^3.6.0", |
54 | 61 | "sass": "^1.62.1",
|
55 | 62 | "sass-loader": "^16.0.4",
|
56 | 63 | "standard-version": "^9.5.0",
|
57 | 64 | "style-loader": "^1.2.1",
|
58 |
| - "svg-inline-loader": "^0.8.2", |
59 | 65 | "surveyjs-doc-generator": "git+https://github.com/surveyjs/surveyjs-doc-generator.git",
|
| 66 | + "svg-inline-loader": "^0.8.2", |
60 | 67 | "ts-jest": "^29.2.2",
|
61 | 68 | "ts-loader": "^9.5.2",
|
62 | 69 | "ts-node": "3.3.0",
|
|
0 commit comments