package.json 6.7 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
    "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 已提交
10
    "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 已提交
11
    "bundlesize": "bundlesize",
C
chomik 已提交
12
    "browsersync": "node build/browsersync.js",
C
codecalm 已提交
13 14
    "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 已提交
15
    "html-build": "JEKYLL_ENV=production bundle exec jekyll build --destination demo --trace",
C
codecalm 已提交
16
    "html-build-demo": "JEKYLL_ENV=production bundle exec jekyll build --destination demo --config _config.yml,_config-demo.yml",
C
chomik 已提交
17
    "lint": "npm-run-all --parallel js-lint css-lint",
C
codecalm 已提交
18
    "clean": "rm -rf tmp-dist && mkdir tmp-dist && mkdir tmp-dist/css && mkdir tmp-dist/js",
19
    "clean-build": "rm -rf dist && mkdir dist && mkdir dist/css && mkdir dist/js && mkdir dist/img",
C
codecalm 已提交
20
    "css": "npm-run-all css-compile",
C
codecalm 已提交
21
    "css-build": "npm-run-all css-compile css-prefix-build css-minify-build",
22
    "css-compile": "node build/scss-compile.js",
C
codecalm 已提交
23 24
    "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 已提交
25 26
    "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 已提交
27
    "css-lint": "stylelint \"scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache",
C
codecalm 已提交
28
    "css-main": "npm-run-all css-compile css-prefix",
C
codecalm 已提交
29
    "css-main-build": "npm-run-all css-lint css-compile css-prefix-build css-minify",
C
codecalm 已提交
30 31
    "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 已提交
32
    "watch-css": "nodemon --watch scss/ --ext scss --exec \"npm run css-main\"",
C
chomik 已提交
33
    "watch-js": "nodemon --watch js/ --ext js --exec \"npm run js-compile-standalone\"",
C
codecalm 已提交
34
    "watch-html": "JEKYLL_ENV=development bundle exec jekyll build --watch",
C
codecalm 已提交
35
    "watch-html-incremental": "JEKYLL_ENV=development bundle exec jekyll build --watch --incremental",
C
codecalm 已提交
36
    "js-libs-bundle": "rm -rf dist/libs && mkdir dist/libs && node build/copy-libs.js",
C
chomik 已提交
37
    "js-lint": "eslint --cache --cache-location .cache/.eslintcache js build/",
C
chomik 已提交
38
    "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
C
chomik 已提交
39
    "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
40
    "svg-svgo": "svgo -f svg/brand --pretty",
41
    "unused-files": "node build/unused-files.js"
C
codecalm 已提交
42 43 44
  },
  "repository": {
    "type": "git",
C
codecalm 已提交
45
    "url": "git+https://github.com/tabler/tabler.git"
C
codecalm 已提交
46
  },
47 48 49 50 51 52 53 54 55
  "keywords": [
    "css",
    "sass",
    "mobile-first",
    "responsive",
    "front-end",
    "framework",
    "web"
  ],
C
codecalm 已提交
56
  "author": "codecalm",
C
codecalm 已提交
57
  "license": "MIT",
C
codecalm 已提交
58
  "bugs": {
C
codecalm 已提交
59
    "url": "https://github.com/tabler/tabler/issues"
C
codecalm 已提交
60
  },
C
codecalm 已提交
61 62 63 64
  "funding": {
    "type": "github",
    "url": "https://github.com/sponsors/codecalm"
  },
C
chomik 已提交
65
  "engines": {
C
codecalm 已提交
66
    "node": ">=10"
C
chomik 已提交
67 68
  },
  "files": [
69
    "dist/{css,js,img}/*.{css,js,map,svg}",
70
    "js/**/*.{js,map}",
71
    "img/**/*.{svg}",
C
chomik 已提交
72 73
    "scss/**/*.scss"
  ],
C
codecalm 已提交
74 75
  "style": "dist/css/tabler.css",
  "sass": "scss/tabler.scss",
76
  "main": "dist/js/tabler.js",
C
chomik 已提交
77
  "homepage": "https://tabler.io",
C
codecalm 已提交
78
  "devDependencies": {
C
codecalm 已提交
79 80
    "@babel/preset-env": "^7.11.5",
    "browser-sync": "^2.26.12",
A
Anton 已提交
81
    "bundlesize": "^0.18.0",
C
codecalm 已提交
82
    "child_process": "^1.0.2",
A
Anton 已提交
83 84
    "clean-css-cli": "^4.3.0",
    "cross-env": "^7.0.2",
C
codecalm 已提交
85
    "eslint": "^7.10.0",
C
codecalm 已提交
86 87 88
    "eslint-config-xo": "^0.32.1",
    "eslint-plugin-import": "^2.22.0",
    "eslint-plugin-unicorn": "^22.0.0",
A
Anton 已提交
89
    "glob": "^7.1.6",
C
codecalm 已提交
90
    "gulp": "^4.0.2",
C
codecalm 已提交
91
    "http-server": "^0.12.3",
A
Anton 已提交
92
    "icon-font-generator": "^2.1.10",
C
codecalm 已提交
93
    "node-sass": "^4.14.1",
A
Anton 已提交
94
    "node-sass-package-importer": "^5.3.2",
C
codecalm 已提交
95
    "nodemon": "^2.0.4",
A
Anton 已提交
96
    "npm-run-all": "^4.1.5",
C
codecalm 已提交
97 98 99
    "percy": "^0.28.2",
    "postcss-cli": "^8.0.0",
    "rollup": "^2.28.2",
A
Anton 已提交
100 101 102
    "rollup-plugin-babel": "^4.4.0",
    "rollup-plugin-babel-minify": "^10.0.0",
    "rollup-plugin-commonjs": "^10.1.0",
C
codecalm 已提交
103
    "rollup-plugin-filesize": "^9.0.2",
A
Anton 已提交
104 105
    "rollup-plugin-multi-input": "^1.1.1",
    "rollup-plugin-node-resolve": "^5.2.0",
C
codecalm 已提交
106
    "shelljs": "^0.8.4",
C
codecalm 已提交
107 108
    "stylelint": "^13.7.2",
    "stylelint-config-twbs-bootstrap": "^2.1.0",
A
Anton 已提交
109
    "svgo": "^1.3.2",
C
codecalm 已提交
110
    "tabler-icons": "1.34.0",
C
codecalm 已提交
111 112
    "terser": "^5.3.2",
    "yaml": "^1.10.0"
C
chomik 已提交
113 114
  },
  "dependencies": {
C
codecalm 已提交
115 116 117 118 119 120
    "@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 已提交
121
    "autosize": "^4.0.2",
C
codecalm 已提交
122
    "bootstrap": "5.0.0-alpha2",
C
codecalm 已提交
123 124 125 126 127 128
    "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 已提交
129
    "jqvmap": "^1.5.1",
C
codecalm 已提交
130
    "nouislider": "^14.6.2",
A
Anton 已提交
131 132 133
    "peity": "^3.3.0",
    "popper.js": "^1.16.1",
    "selectize": "^0.12.6"
134
  },
C
codecalm 已提交
135
  "resolutions": {
A
Anton 已提交
136
    "**/**/node-gyp": "^5.0.0"
C
codecalm 已提交
137
  },
138 139 140
  "bundlesize": [
    {
      "path": "./dist/css/tabler.css",
A
Anton 已提交
141
      "maxSize": "55 kB"
142 143 144 145 146
    },
    {
      "path": "./dist/css/tabler.min.css",
      "maxSize": "45 kB"
    },
C
codecalm 已提交
147 148 149 150 151 152 153 154
    {
      "path": "./dist/css/tabler-flags.css",
      "maxSize": "2 kB"
    },
    {
      "path": "./dist/css/tabler-flags.min.css",
      "maxSize": "2 kB"
    },
M
memorte03 已提交
155 156 157 158 159 160 161 162
    {
      "path": "./dist/css/tabler-payments.css",
      "maxSize": "2 kB"
    },
    {
      "path": "./dist/css/tabler-payments.min.css",
      "maxSize": "2 kB"
    },
163 164 165 166 167 168 169 170 171
    {
      "path": "./dist/js/tabler.js",
      "maxSize": "2 kB"
    },
    {
      "path": "./dist/js/tabler.min.js",
      "maxSize": "1.5 kB"
    }
  ]
C
codecalm 已提交
172
}