|
46 | 46 | },
|
47 | 47 | {
|
48 | 48 | "type": "subscription",
|
49 |
| - "url": "https://coreui.io/pro" |
| 49 | + "url": "hhttps://coreui.io/pricing/?framework=bootstrap" |
50 | 50 | }
|
51 | 51 | ],
|
52 | 52 | "scripts": {
|
53 |
| - "build": "npm run build-from-html", |
| 53 | + "build": "npm-run-all clean --parallel css js copy --sequential build-vendors", |
54 | 54 | "build-vendors": "node build/vendors.js",
|
55 |
| - "build-from-html": "npm-run-all clean --parallel css js copy --sequential build-vendors", |
56 |
| - "build-from-pug": "npm-run-all clean --parallel css js copy-assets pug-dist --sequential build-vendors", |
57 | 55 | "clean": "rimraf dist",
|
58 | 56 | "copy": "npm-run-all --parallel copy-*",
|
59 | 57 | "copy-assets": "copyfiles -a -u 1 \"src/assets/**/*\" dist/",
|
|
65 | 63 | "css-minify": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*rtl*.css\"",
|
66 | 64 | "css-prefix": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",
|
67 | 65 | "js": "npm-run-all --parallel js-compile* ",
|
68 |
| - "js-compile": "cross-env PLUGINS=true babel src/js/ --out-dir dist/js/ --source-maps", |
| 66 | + "js-compile": "cross-env babel src/js/ --out-dir dist/js/ --source-maps", |
69 | 67 | "js-lint": "eslint --cache --cache-___location .cache/.eslintcache --report-unused-disable-directives .",
|
70 | 68 | "localhost": "browser-sync start --server \"./dist\" --serveStatic \"./\" --files \"./dist/\"",
|
71 | 69 | "postinstall": "node build/postinstall || exit 0",
|
72 |
| - "prettier": "prettier --print-width=160 --write \"dist\"", |
73 |
| - "pug": "npm-run-all --parallel pug-*", |
74 |
| - "pug-dist": "node build/pug.js --dest dist/", |
75 |
| - "pug-views": "node build/pug.js --dest src/views/", |
| 70 | + "pug": "node build/pug.js --dest src/views/", |
76 | 71 | "release-version": "node build/change-version.js",
|
77 | 72 | "serve": "serve dist",
|
78 | 73 | "start": "npm-run-all --sequential clean css js copy --parallel localhost watch",
|
79 |
| - "start-html": "npm-run-all --sequential clean css js copy --parallel localhost watch-assets watch-css watch-html watch-js", |
80 |
| - "start-pug": "npm-run-all --sequential clean css js copy --parallel localhost watch-assets watch-css watch-pug watch-js", |
81 |
| - "sync-assets": "syncdir src/assets dist/assets", |
| 74 | + "sync-assets": "syncdir src/assets dist/assets --hardlink", |
| 75 | + "sync-views": "syncdir src/views dist/ --hardlink", |
82 | 76 | "watch": "npm-run-all --parallel watch-*",
|
83 | 77 | "watch-assets": "nodemon --watch src/assets --exec \"npm run sync-assets\"",
|
84 | 78 | "watch-css": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix\"",
|
85 |
| - "watch-html": "nodemon --watch src/views --ext html --exec \"npm run copy-views\"", |
| 79 | + "watch-html": "nodemon --watch src/views --ext html --exec \"npm run sync-views\"", |
86 | 80 | "watch-js": "nodemon --watch src/js --ext js --exec \"npm-run-all js-lint js-compile\"",
|
87 |
| - "watch-pug": "nodemon --watch src/pug --ext pug --exec \"npm run pug-dist\"", |
| 81 | + "watch-pug": "nodemon --watch src/pug --ext pug --exec \"npm run pug\"", |
88 | 82 | "zip": "git archive -o coreui-free-bootstrap-admin-template-v$npm_package_version.zip -9 HEAD"
|
89 | 83 | },
|
90 | 84 | "dependencies": {
|
|
0 commit comments