package.json 6.1 KB
Newer Older
C
codecalm 已提交
1
{
C
codecalm 已提交
2
  "name": "tabler",
C
codecalm 已提交
3 4
  "version": "1.0.0-alpha.7",
  "version_short": "1.0.0-alpha.7",
C
chomik 已提交
5
  "description": "Premium and Open Source dashboard template with responsive and high quality UI.",
C
codecalm 已提交
6
  "scripts": {
C
codecalm 已提交
7
    "start": "npm-run-all clean css-main js-compile-standalone --parallel browsersync watch",
C
codecalm 已提交
8
    "start-incremental": "npm-run-all clean css-main js-compile-standalone --parallel browsersync watch-incremental",
C
codecalm 已提交
9
    "bundlewatch": "bundlewatch --config .bundlewatch.config.json",
C
codecalm 已提交
10
    "build": "BUNDLE=true npm-run-all clean-build html-build css-build js-compile-bundle js-libs-bundle images-copy-build assets-copy-build",
C
codecalm 已提交
11
    "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",
C
chomik 已提交
12
    "bundlesize": "bundlesize",
C
chomik 已提交
13
    "browsersync": "node build/browsersync.js",
C
codecalm 已提交
14 15
    "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/",
C
codecalm 已提交
16
    "html-build": "JEKYLL_ENV=production bundle exec jekyll build --destination demo --trace",
C
codecalm 已提交
17
    "html-build-demo": "JEKYLL_ENV=production bundle exec jekyll build --destination demo --config _config.yml,_config-demo.yml",
C
chomik 已提交
18
    "lint": "npm-run-all --parallel js-lint css-lint",
C
codecalm 已提交
19
    "clean": "rm -rf tmp-dist && mkdir tmp-dist && mkdir tmp-dist/css && mkdir tmp-dist/js",
20
    "clean-build": "rm -rf dist && mkdir dist && mkdir dist/css && mkdir dist/js && mkdir dist/img",
C
codecalm 已提交
21
    "css": "npm-run-all css-compile",
C
codecalm 已提交
22
    "css-build": "npm-run-all css-compile css-prefix-build css-minify-build",
23
    "css-compile": "node build/scss-compile.js",
C
codecalm 已提交
24 25
    "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\"",
C
codecalm 已提交
26 27
    "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",
C
chomik 已提交
28
    "css-lint": "stylelint \"scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache",
C
codecalm 已提交
29
    "css-main": "npm-run-all css-compile css-prefix",
C
codecalm 已提交
30
    "css-main-build": "npm-run-all css-lint css-compile css-prefix-build css-minify",
C
codecalm 已提交
31 32
    "watch": "npm-run-all --parallel watch-css watch-js watch-html",
    "watch-incremental": "npm-run-all --parallel watch-css watch-js watch-html-incremental",
C
chomik 已提交
33
    "watch-css": "nodemon --watch scss/ --ext scss --exec \"npm run css-main\"",
C
chomik 已提交
34
    "watch-js": "nodemon --watch js/ --ext js --exec \"npm run js-compile-standalone\"",
C
codecalm 已提交
35
    "watch-html": "JEKYLL_ENV=development bundle exec jekyll build --watch",
C
codecalm 已提交
36
    "watch-html-incremental": "JEKYLL_ENV=development bundle exec jekyll build --watch --incremental",
C
codecalm 已提交
37
    "js-libs-bundle": "rm -rf dist/libs && mkdir dist/libs && node build/copy-libs.js",
C
chomik 已提交
38
    "js-lint": "eslint --cache --cache-location .cache/.eslintcache js build/",
C
chomik 已提交
39
    "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
C
chomik 已提交
40
    "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
41
    "svg-svgo": "svgo -f svg/brand --pretty",
42
    "unused-files": "node build/unused-files.js"
C
codecalm 已提交
43 44 45
  },
  "repository": {
    "type": "git",
C
codecalm 已提交
46
    "url": "git+https://github.com/tabler/tabler.git"
C
codecalm 已提交
47
  },
48 49 50 51 52 53 54 55 56
  "keywords": [
    "css",
    "sass",
    "mobile-first",
    "responsive",
    "front-end",
    "framework",
    "web"
  ],
C
codecalm 已提交
57
  "author": "codecalm",
C
codecalm 已提交
58
  "license": "MIT",
C
codecalm 已提交
59
  "bugs": {
C
codecalm 已提交
60
    "url": "https://github.com/tabler/tabler/issues"
C
codecalm 已提交
61
  },
C
codecalm 已提交
62 63 64 65
  "funding": {
    "type": "github",
    "url": "https://github.com/sponsors/codecalm"
  },
C
chomik 已提交
66
  "engines": {
C
codecalm 已提交
67
    "node": ">=10"
C
chomik 已提交
68 69
  },
  "files": [
70
    "dist/{css,js,img}/*.{css,js,map,svg}",
71
    "js/**/*.{js,map}",
72
    "img/**/*.{svg}",
C
chomik 已提交
73 74
    "scss/**/*.scss"
  ],
C
codecalm 已提交
75 76
  "style": "dist/css/tabler.css",
  "sass": "scss/tabler.scss",
77
  "main": "dist/js/tabler.js",
C
chomik 已提交
78
  "homepage": "https://tabler.io",
C
codecalm 已提交
79
  "devDependencies": {
C
codecalm 已提交
80 81
    "@babel/preset-env": "^7.11.5",
    "browser-sync": "^2.26.12",
C
codecalm 已提交
82
    "bundlewatch": "^0.3.1",
C
codecalm 已提交
83
    "child_process": "^1.0.2",
A
Anton 已提交
84 85
    "clean-css-cli": "^4.3.0",
    "cross-env": "^7.0.2",
C
codecalm 已提交
86
    "eslint": "^7.10.0",
C
codecalm 已提交
87 88 89
    "eslint-config-xo": "^0.32.1",
    "eslint-plugin-import": "^2.22.0",
    "eslint-plugin-unicorn": "^22.0.0",
A
Anton 已提交
90
    "glob": "^7.1.6",
C
codecalm 已提交
91
    "gulp": "^4.0.2",
C
codecalm 已提交
92
    "http-server": "^0.12.3",
A
Anton 已提交
93
    "icon-font-generator": "^2.1.10",
C
codecalm 已提交
94
    "node-sass": "^4.14.1",
A
Anton 已提交
95
    "node-sass-package-importer": "^5.3.2",
C
codecalm 已提交
96
    "nodemon": "^2.0.4",
A
Anton 已提交
97
    "npm-run-all": "^4.1.5",
C
codecalm 已提交
98 99 100
    "percy": "^0.28.2",
    "postcss-cli": "^8.0.0",
    "rollup": "^2.28.2",
A
Anton 已提交
101 102 103
    "rollup-plugin-babel": "^4.4.0",
    "rollup-plugin-babel-minify": "^10.0.0",
    "rollup-plugin-commonjs": "^10.1.0",
C
codecalm 已提交
104
    "rollup-plugin-filesize": "^9.0.2",
A
Anton 已提交
105 106
    "rollup-plugin-multi-input": "^1.1.1",
    "rollup-plugin-node-resolve": "^5.2.0",
C
codecalm 已提交
107
    "shelljs": "^0.8.4",
C
codecalm 已提交
108 109
    "stylelint": "^13.7.2",
    "stylelint-config-twbs-bootstrap": "^2.1.0",
A
Anton 已提交
110
    "svgo": "^1.3.2",
C
codecalm 已提交
111
    "tabler-icons": "1.34.0",
C
codecalm 已提交
112 113
    "terser": "^5.3.2",
    "yaml": "^1.10.0"
C
chomik 已提交
114 115
  },
  "dependencies": {
C
codecalm 已提交
116 117 118 119 120 121
    "@fullcalendar/core": "^5.3.1",
    "@fullcalendar/daygrid": "^5.3.2",
    "@fullcalendar/interaction": "^5.3.1",
    "@fullcalendar/list": "^5.3.1",
    "@fullcalendar/timegrid": "^5.3.1",
    "apexcharts": "^3.21.0",
A
Anton 已提交
122
    "autosize": "^4.0.2",
C
codecalm 已提交
123
    "bootstrap": "5.0.0-alpha2",
C
codecalm 已提交
124 125 126 127 128 129
    "countup.js": "^2.0.7",
    "daterangepicker": "^3.1.0",
    "flatpickr": "^4.6.6",
    "fullcalendar": "^5.3.2",
    "imask": "^6.0.5",
    "jquery": "^3.5.1",
A
Anton 已提交
130
    "jqvmap": "^1.5.1",
C
codecalm 已提交
131
    "nouislider": "^14.6.2",
A
Anton 已提交
132 133 134
    "peity": "^3.3.0",
    "popper.js": "^1.16.1",
    "selectize": "^0.12.6"
135
  },
C
codecalm 已提交
136
  "resolutions": {
A
Anton 已提交
137
    "**/**/node-gyp": "^5.0.0"
C
codecalm 已提交
138
  }
C
codecalm 已提交
139
}