package.json 4.8 KB
Newer Older
C
codecalm 已提交
1
{
P
Paweł Kuna 已提交
2
  "name": "tabler-ui",
3 4
  "version": "0.9.0",
  "version_short": "0.9",
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 html-watch browsersync watch",
C
codecalm 已提交
8
    "build": "npm-run-all clean html-build css js assets-copy",
C
chomik 已提交
9
    "bundlesize": "bundlesize",
C
chomik 已提交
10
    "browsersync": "node build/browsersync.js",
C
codecalm 已提交
11
    "assets-copy": "mkdir -p dist-demo/dist && cp -R dist/* dist-demo/dist/ && cp -R static/* dist-demo/",
C
codecalm 已提交
12
    "html-watch": "JEKYLL_ENV=development bundle exec jekyll build --watch",
C
codecalm 已提交
13
    "html-build": "JEKYLL_ENV=production bundle exec jekyll build --destination dist-demo",
C
chomik 已提交
14
    "lint": "npm-run-all --parallel js-lint css-lint",
C
codecalm 已提交
15
    "clean": "rm -rf dist && mkdir dist && mkdir dist/css && mkdir dist/js",
16
    "css": "npm-run-all css-compile css-prefix css-minify",
17
    "css-compile": "node build/scss-compile.js",
C
chomik 已提交
18
    "css-prefix": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",
19
    "css-minify": "for i in dist/css/tabler*.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 已提交
20
    "css-lint": "stylelint \"scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache",
C
chomik 已提交
21
    "css-main": "npm-run-all css-compile css-prefix",
C
chomik 已提交
22
    "css-main-build": "npm-run-all css-lint css-compile css-prefix css-minify",
C
chomik 已提交
23 24
    "watch": "npm-run-all --parallel watch-*",
    "watch-css": "nodemon --watch scss/ --ext scss --exec \"npm run css-main\"",
C
chomik 已提交
25
    "watch-js": "nodemon --watch js/ --ext js --exec \"npm run js-compile-standalone\"",
C
codecalm 已提交
26 27
    "js": "npm-run-all --sequential js-compile js-libs",
    "js-libs": "rm -rf dist/libs && mkdir dist/libs && node build/copy-libs.js",
C
chomik 已提交
28
    "js-lint": "eslint --cache --cache-location .cache/.eslintcache js build/",
C
codecalm 已提交
29
    "js-compile": "npm-run-all --sequential js-compile-*",
C
chomik 已提交
30
    "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
C
chomik 已提交
31
    "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
C
codecalm 已提交
32
    "svg-svgo": "svgo -f svg/fe --pretty && svgo -f svg/brand --pretty"
C
codecalm 已提交
33 34 35
  },
  "repository": {
    "type": "git",
C
codecalm 已提交
36
    "url": "git+https://github.com/tabler/tabler.git"
C
codecalm 已提交
37
  },
38 39 40 41 42 43 44 45 46
  "keywords": [
    "css",
    "sass",
    "mobile-first",
    "responsive",
    "front-end",
    "framework",
    "web"
  ],
C
codecalm 已提交
47
  "author": "codecalm",
C
codecalm 已提交
48
  "license": "MIT",
C
codecalm 已提交
49
  "bugs": {
C
codecalm 已提交
50
    "url": "https://github.com/tabler/tabler/issues"
C
codecalm 已提交
51
  },
C
chomik 已提交
52
  "engines": {
C
codecalm 已提交
53
    "node": ">=10"
C
chomik 已提交
54 55 56
  },
  "files": [
    "dist/{css,js}/*.{css,js,map}",
57
    "js/**/*.{js,map}",
C
chomik 已提交
58 59
    "scss/**/*.scss"
  ],
60
  "main": "dist/js/tabler.js",
C
chomik 已提交
61
  "homepage": "https://tabler.io",
C
codecalm 已提交
62
  "devDependencies": {
C
codecalm 已提交
63
    "@babel/preset-env": "7.6.3",
C
chomik 已提交
64
    "browser-sync": "2.26.7",
C
codecalm 已提交
65
    "bundlesize": "0.18.0",
C
chomik 已提交
66
    "clean-css-cli": "4.3.0",
C
codecalm 已提交
67
    "cross-env": "6.0.3",
68
    "eslint": "6.6.0",
C
codecalm 已提交
69
    "eslint-config-xo": "0.27.2",
C
codecalm 已提交
70
    "eslint-plugin-import": "2.18.2",
C
codecalm 已提交
71
    "eslint-plugin-unicorn": "12.1.0",
C
chomik 已提交
72
    "http-server": "0.11.1",
C
chomik 已提交
73
    "icon-font-generator": "2.1.10",
74
    "node-sass": "4.13.0",
C
codecalm 已提交
75
    "nodemon": "1.19.4",
C
chomik 已提交
76
    "npm-run-all": "4.1.5",
C
codecalm 已提交
77
    "postcss-cli": "6.1.3",
78
    "rollup": "1.26.0",
C
codecalm 已提交
79
    "rollup-plugin-babel": "4.3.3",
C
codecalm 已提交
80
    "rollup-plugin-babel-minify": "9.1.0",
C
codecalm 已提交
81
    "rollup-plugin-commonjs": "10.1.0",
C
codecalm 已提交
82
    "rollup-plugin-filesize": "6.2.1",
C
codecalm 已提交
83
    "rollup-plugin-multi-input": "1.0.2",
C
codecalm 已提交
84
    "rollup-plugin-node-resolve": "5.2.0",
C
chomik 已提交
85
    "shx": "0.3.2",
C
codecalm 已提交
86
    "stylelint": "11.1.1",
87
    "stylelint-config-twbs-bootstrap": "0.9.0",
88
    "svgo": "1.3.2",
C
codecalm 已提交
89 90
    "terser": "4.3.9",
    "yaml": "1.7.2"
C
chomik 已提交
91 92
  },
  "dependencies": {
C
codecalm 已提交
93 94
    "@fullcalendar/core": "^4.3.1",
    "@fullcalendar/daygrid": "^4.3.0",
C
codecalm 已提交
95 96 97
    "@fullcalendar/interaction": "^4.3.0",
    "@fullcalendar/list": "^4.3.0",
    "@fullcalendar/timegrid": "^4.3.0",
98
    "apexcharts": "3.10.1",
C
chomik 已提交
99
    "autosize": "4.0.2",
100
    "bootstrap": "twbs/bootstrap#9ee9b8a",
C
codecalm 已提交
101
    "fullcalendar": "3.10.1",
C
codecalm 已提交
102
    "imask": "5.2.1",
C
codecalm 已提交
103
    "jquery": "3.4.1",
C
codecalm 已提交
104
    "jqvmap": "1.5.1",
C
codecalm 已提交
105
    "peity": "3.3.0",
C
codecalm 已提交
106
    "selectize": "^0.12.6"
107 108 109 110 111 112 113 114 115 116
  },
  "bundlesize": [
    {
      "path": "./dist/css/tabler.css",
      "maxSize": "50 kB"
    },
    {
      "path": "./dist/css/tabler.min.css",
      "maxSize": "45 kB"
    },
C
codecalm 已提交
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
    {
      "path": "./dist/css/tabler-charts.css",
      "maxSize": "2 kB"
    },
    {
      "path": "./dist/css/tabler-charts.min.css",
      "maxSize": "2 kB"
    },
    {
      "path": "./dist/css/tabler-flags.css",
      "maxSize": "2 kB"
    },
    {
      "path": "./dist/css/tabler-flags.min.css",
      "maxSize": "2 kB"
    },
133 134 135 136 137 138 139 140 141
    {
      "path": "./dist/js/tabler.js",
      "maxSize": "2 kB"
    },
    {
      "path": "./dist/js/tabler.min.js",
      "maxSize": "1.5 kB"
    }
  ]
C
codecalm 已提交
142
}