package.json 3.6 KB
Newer Older
C
codecalm 已提交
1
{
P
Paweł Kuna 已提交
2
  "name": "tabler",
C
chomik 已提交
3 4
  "version": "1.0.0",
  "description": "Premium and Open Source dashboard template with responsive and high quality UI.",
C
codecalm 已提交
5
  "scripts": {
C
chomik 已提交
6
    "start": "npm-run-all --parallel browsersync watch html-watch",
C
chomik 已提交
7
    "build": "npm-run-all lint html-build css-compile js-compile",
C
chomik 已提交
8
    "bundlesize": "bundlesize",
C
chomik 已提交
9
    "browsersync": "node build/browsersync.js",
C
chomik 已提交
10
    "html-watch": "JEKYLL_ENV=development bundle exec jekyll build --watch",
C
chomik 已提交
11
    "html-build": "JEKYLL_ENV=production bundle exec jekyll build",
C
chomik 已提交
12
    "lint": "npm-run-all --parallel js-lint css-lint",
C
chomik 已提交
13
    "css-compile": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/tabler.scss dist/css/tabler.css",
C
chomik 已提交
14 15
    "css-prefix": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",
    "css-minify": "cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/tabler.min.css dist/css/tabler.css",
C
chomik 已提交
16
    "css-copy": "cross-env-shell shx mkdir -p site/static/dist/ && cross-env-shell shx cp -r dist/css/ site/static/dist/",
C
chomik 已提交
17
    "css-lint": "stylelint \"scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache",
C
chomik 已提交
18
    "css-main": "npm-run-all css-compile css-prefix",
C
chomik 已提交
19
    "css-main-build": "npm-run-all css-lint css-compile css-prefix css-minify",
C
chomik 已提交
20 21
    "watch": "npm-run-all --parallel watch-*",
    "watch-css": "nodemon --watch scss/ --ext scss --exec \"npm run css-main\"",
C
chomik 已提交
22 23 24
    "watch-js": "nodemon --watch js/ --ext js --exec \"npm run js-compile-standalone\"",
    "js-lint": "eslint --cache --cache-location .cache/.eslintcache js build/",
    "js-compile": "npm-run-all --parallel js-compile-* --sequential js-minify",
C
chomik 已提交
25
    "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
C
chomik 已提交
26 27 28 29
    "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
    "js-minify": "npm-run-all js-minify-standalone* js-minify-bundle",
    "js-minify-standalone": "terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/tabler.js.map,includeSources,url=tabler.min.js.map\" --output dist/js/tabler.min.js dist/js/tabler.js",
    "js-minify-bundle": "terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/tabler.bundle.js.map,includeSources,url=tabler.bundle.min.js.map\" --output dist/js/tabler.bundle.min.js dist/js/tabler.bundle.js"
C
codecalm 已提交
30 31 32
  },
  "repository": {
    "type": "git",
C
codecalm 已提交
33
    "url": "git+https://github.com/tabler/tabler.git"
C
codecalm 已提交
34
  },
C
chomik 已提交
35
  "keywords": [],
C
codecalm 已提交
36
  "author": "codecalm",
C
chomik 已提交
37
  "license": "ISC",
C
codecalm 已提交
38
  "bugs": {
C
codecalm 已提交
39
    "url": "https://github.com/tabler/tabler/issues"
C
codecalm 已提交
40
  },
C
chomik 已提交
41 42 43 44 45 46 47 48
  "engines": {
    "node": ">=8"
  },
  "files": [
    "dist/{css,js}/*.{css,js,map}",
    "js/{src,dist}/**/*.{js,map}",
    "scss/**/*.scss"
  ],
C
chomik 已提交
49
  "homepage": "https://tabler.io",
C
codecalm 已提交
50
  "devDependencies": {
C
chomik 已提交
51
    "apexcharts": "3.6.2",
C
tracks  
chomik 已提交
52
    "bootstrap": "twbs/bootstrap#41fcd13",
C
chomik 已提交
53
    "browser-sync": "^2.26.5",
C
chomik 已提交
54
    "bundlesize": "0.15.3",
C
chomik 已提交
55
    "clean-css-cli": "4.3.0",
C
chomik 已提交
56
    "cross-env": "5.2.0",
C
chomik 已提交
57 58 59
    "eslint": "5.16.0",
    "eslint-config-xo": "0.26.0",
    "eslint-plugin-import": "2.16.0",
C
chomik 已提交
60
    "eslint-plugin-unicorn": "8.0.2",
C
chomik 已提交
61 62 63 64 65
    "http-server": "0.11.1",
    "node-sass": "^4.12.0",
    "nodemon": "1.18.11",
    "npm-run-all": "4.1.5",
    "popper.js": "1.15.0",
C
chomik 已提交
66 67 68 69
    "postcss-cli": "6.1.2",
    "rollup": "1.9.3",
    "rollup-plugin-babel": "4.3.2",
    "rollup-plugin-node-resolve": "4.2.2",
C
chomik 已提交
70 71 72
    "shx": "0.3.2",
    "stylelint": "9.10.1",
    "stylelint-config-twbs-bootstrap": "0.3.0",
C
chomik 已提交
73
    "terser": "3.17.0",
C
chomik 已提交
74 75
    "icon-font-generator": "2.1.10",
    "svgo": "1.2.2"
76
  }
C
codecalm 已提交
77
}