1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-25 04:24:37 +04:00

build process v1

This commit is contained in:
codecalm
2020-10-26 22:22:07 +01:00
parent f483594a4d
commit db74390ce7
2549 changed files with 1638 additions and 124314 deletions
+17 -48
View File
@@ -4,41 +4,9 @@
"version_short": "1.0.0-alpha.7",
"description": "Premium and Open Source dashboard template with responsive and high quality UI.",
"scripts": {
"start": "npm-run-all clean css-main js-compile-standalone --parallel browsersync watch",
"start-incremental": "npm-run-all clean css-main js-compile-standalone --parallel browsersync watch-incremental",
"bundlewatch": "bundlewatch --config .bundlewatch.config.json",
"build": "BUNDLE=true npm-run-all clean-build html-build css-build js-compile-bundle js-libs-bundle images-copy-build assets-copy-build",
"build-demo": "BUNDLE=true npm-run-all clean-build html-build-demo css-build js-compile-bundle js-libs-bundle images-copy-build assets-copy-build",
"bundlesize": "bundlesize",
"browsersync": "node build/browsersync.js",
"images-copy-build": "cp -R img/* dist/img/",
"assets-copy-build": "mkdir -p demo/dist && cp -R dist/* demo/dist/ && mkdir -p demo/static && cp -R static/* demo/static/",
"html-build": "JEKYLL_ENV=production bundle exec jekyll build --destination demo --trace",
"html-build-demo": "JEKYLL_ENV=production bundle exec jekyll build --destination demo --config _config.yml,_config-demo.yml",
"lint": "npm-run-all --parallel js-lint css-lint",
"clean": "rm -rf tmp-dist && mkdir tmp-dist && mkdir tmp-dist/css && mkdir tmp-dist/js",
"clean-build": "rm -rf dist && mkdir dist && mkdir dist/css && mkdir dist/js && mkdir dist/img",
"css": "npm-run-all css-compile",
"css-build": "npm-run-all css-compile css-prefix-build css-minify-build",
"css-compile": "node build/scss-compile.js",
"css-prefix": "postcss --config build/postcss.config.js --replace \"tmp-dist/css/*.css\" \"!tmp-dist/css/*.min.css\"",
"css-prefix-build": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",
"css-minify": "for i in tmp-dist/css/*.css;do echo $i; N=`echo $i | sed -e 's/^dist\\/css\\///g' | sed -e 's/\\\\.css//g'`; echo $N; cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output tmp-dist/css/$N.min.css tmp-dist/css/$N.css; done",
"css-minify-build": "for i in dist/css/*.css;do echo $i; N=`echo $i | sed -e 's/^dist\\/css\\///g' | sed -e 's/\\\\.css//g'`; echo $N; cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/$N.min.css dist/css/$N.css; done",
"css-lint": "stylelint \"scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache",
"css-main": "npm-run-all css-compile css-prefix",
"css-main-build": "npm-run-all css-lint css-compile css-prefix-build css-minify",
"watch": "npm-run-all --parallel watch-css watch-js watch-html",
"watch-incremental": "npm-run-all --parallel watch-css watch-js watch-html-incremental",
"watch-css": "nodemon --watch scss/ --ext scss --exec \"npm run css-main\"",
"watch-js": "nodemon --watch js/ --ext js --exec \"npm run js-compile-standalone\"",
"watch-html": "JEKYLL_ENV=development bundle exec jekyll build --watch",
"watch-html-incremental": "JEKYLL_ENV=development bundle exec jekyll build --watch --incremental",
"js-libs-bundle": "rm -rf dist/libs && mkdir dist/libs && node build/copy-libs.js",
"js-lint": "eslint --cache --cache-location .cache/.eslintcache js build/",
"js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
"js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
"svg-svgo": "svgo -f svg/brand --pretty",
"start": "gulp start",
"build": "gulp build",
"svg-optimize": "svgo -f svg/brand --pretty",
"unused-files": "node build/unused-files.js"
},
"repository": {
@@ -77,27 +45,28 @@
"main": "dist/js/tabler.js",
"homepage": "https://tabler.io",
"devDependencies": {
"@babel/preset-env": "^7.11.5",
"browser-sync": "^2.26.12",
"@babel/preset-env": "^7.12.1",
"browser-sync": "^2.26.13",
"bundlewatch": "^0.3.1",
"child_process": "^1.0.2",
"clean-css-cli": "^4.3.0",
"cross-env": "^7.0.2",
"eslint": "^7.10.0",
"eslint-config-xo": "^0.32.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-unicorn": "^22.0.0",
"eslint": "^7.12.0",
"eslint-config-xo": "^0.33.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-unicorn": "^23.0.0",
"glob": "^7.1.6",
"gulp": "^4.0.2",
"gulp-clean": "^0.4.0",
"http-server": "^0.12.3",
"icon-font-generator": "^2.1.10",
"icon-font-generator": "^2.1.11",
"node-sass": "^4.14.1",
"node-sass-package-importer": "^5.3.2",
"nodemon": "^2.0.4",
"nodemon": "^2.0.6",
"npm-run-all": "^4.1.5",
"percy": "^0.28.2",
"postcss-cli": "^8.0.0",
"rollup": "^2.28.2",
"percy": "^0.28.4",
"postcss-cli": "^8.1.0",
"rollup": "^2.32.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-babel-minify": "^10.0.0",
"rollup-plugin-commonjs": "^10.1.0",
@@ -109,7 +78,7 @@
"stylelint-config-twbs-bootstrap": "^2.1.0",
"svgo": "^1.3.2",
"tabler-icons": "1.34.0",
"terser": "^5.3.2",
"terser": "^5.3.8",
"yaml": "^1.10.0"
},
"dependencies": {
@@ -118,7 +87,7 @@
"@fullcalendar/interaction": "^5.3.1",
"@fullcalendar/list": "^5.3.1",
"@fullcalendar/timegrid": "^5.3.1",
"apexcharts": "^3.21.0",
"apexcharts": "^3.22.0",
"autosize": "^4.0.2",
"bootstrap": "5.0.0-alpha2",
"countup.js": "^2.0.7",