package.json 6.9 KB
Newer Older
C
codecalm 已提交
1
{
M
Michal Wolny 已提交
2
  "name": "@tabler/core",
C
codecalm 已提交
3
  "version": "1.0.0-beta17",
C
chomik 已提交
4
  "description": "Premium and Open Source dashboard template with responsive and high quality UI.",
C
codecalm 已提交
5
  "homepage": "https://tabler.io",
C
codecalm 已提交
6
  "scripts": {
C
codecalm 已提交
7
    "start": "gulp start",
8
    "start-plugins": "gulp start --with-plugins",
C
codecalm 已提交
9
    "build": "gulp build",
C
codecalm 已提交
10
    "build-docs": "mkdir public && touch public/index.html && echo 'ok'",
C
codecalm 已提交
11
    "preview": "gulp build --preview",
C
codecalm 已提交
12
    "svg-optimize": "svgo -f svg/brand --pretty",
C
codecalm 已提交
13
    "unused-files": "node build/unused-files.js",
C
codecalm 已提交
14
    "release": "release-it",
C
codecalm 已提交
15
    "svg-icons": "gulp svg-icons",
C
codecalm 已提交
16
    "percy": "gulp build && npx percy snapshot demo",
17
    "bundlewatch": "bundlewatch",
P
Paweł Kuna 已提交
18 19
    "chromatic": "chromatic --project-token=CHROMATIC_PROJECT_TOKEN",
    "storybook": "start-storybook -p 6006",
20
    "changelog": "gulp changelog",
21
    "icons": "ncu -u @tabler/icons && pnpm install && gulp svg-icons && git add . && git commit -am \"update icons to v`pnpm info @tabler/icons version`\" && git push",
P
Paweł Kuna 已提交
22
    "download-images": "node build/download-images.js",
23 24 25
    "optimize-images": "for i in ./src/static/photos/*.jpg; do convert \"$i\" -quality 80% \"${i%.jpg}.jpg\"; done",
    "format:check": "prettier --check src/**/*.{js,scss} --cache",
    "format:write": "prettier --write src/**/*.{js,scss} --cache"
C
codecalm 已提交
26 27 28
  },
  "repository": {
    "type": "git",
C
codecalm 已提交
29
    "url": "git+https://github.com/tabler/tabler.git"
C
codecalm 已提交
30
  },
31 32 33 34 35 36 37 38 39
  "keywords": [
    "css",
    "sass",
    "mobile-first",
    "responsive",
    "front-end",
    "framework",
    "web"
  ],
C
codecalm 已提交
40
  "author": "codecalm",
C
codecalm 已提交
41
  "license": "MIT",
C
codecalm 已提交
42
  "bugs": {
C
codecalm 已提交
43
    "url": "https://github.com/tabler/tabler/issues"
C
codecalm 已提交
44
  },
C
codecalm 已提交
45 46 47 48
  "funding": {
    "type": "github",
    "url": "https://github.com/sponsors/codecalm"
  },
C
chomik 已提交
49
  "engines": {
50
    "node": ">=18"
C
chomik 已提交
51 52
  },
  "files": [
C
codecalm 已提交
53 54 55 56
    "dist/**/*",
    "src/js/**/*.{js,map}",
    "src/img/**/*.{svg}",
    "src/scss/**/*.scss"
C
chomik 已提交
57
  ],
C
codecalm 已提交
58
  "style": "dist/css/tabler.css",
C
codecalm 已提交
59
  "sass": "src/scss/tabler.scss",
60 61 62
  "unpkg": "dist/js/tabler.min.js",
  "umd:main": "dist/js/tabler.min.js",
  "module": "dist/js/tabler.esm.js",
63
  "main": "dist/js/tabler.js",
C
codecalm 已提交
64 65 66 67
  "bundlewatch": {
    "files": [
      {
        "path": "./dist/css/tabler.css",
68
        "maxSize": "75 kB"
C
codecalm 已提交
69 70 71
      },
      {
        "path": "./dist/css/tabler.min.css",
72
        "maxSize": "70 kB"
C
codecalm 已提交
73 74 75
      },
      {
        "path": "./dist/css/tabler.rtl.css",
76
        "maxSize": "75 kB"
C
codecalm 已提交
77 78 79
      },
      {
        "path": "./dist/css/tabler.rtl.min.css",
80
        "maxSize": "70 kB"
C
codecalm 已提交
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
      },
      {
        "path": "./dist/css/tabler-flags.css",
        "maxSize": "2 kB"
      },
      {
        "path": "./dist/css/tabler-flags.min.css",
        "maxSize": "2 kB"
      },
      {
        "path": "./dist/css/tabler-payments.css",
        "maxSize": "2 kB"
      },
      {
        "path": "./dist/css/tabler-payments.min.css",
        "maxSize": "2 kB"
      },
98 99 100 101 102 103 104 105
      {
        "path": "./dist/css/tabler-social.css",
        "maxSize": "2 kB"
      },
      {
        "path": "./dist/css/tabler-social.min.css",
        "maxSize": "2 kB"
      },
106 107 108 109 110 111 112 113
      {
        "path": "./dist/css/tabler-vendors.css",
        "maxSize": "7 kB"
      },
      {
        "path": "./dist/css/tabler-vendors.min.css",
        "maxSize": "6 kB"
      },
C
codecalm 已提交
114 115
      {
        "path": "./dist/js/tabler.js",
116
        "maxSize": "60 kB"
C
codecalm 已提交
117 118 119
      },
      {
        "path": "./dist/js/tabler.min.js",
120 121 122 123 124 125 126 127 128
        "maxSize": "45 kB"
      },
      {
        "path": "./dist/js/tabler.esm.js",
        "maxSize": "60 kB"
      },
      {
        "path": "./dist/js/tabler.esm.min.js",
        "maxSize": "45 kB"
C
codecalm 已提交
129 130 131
      }
    ]
  },
C
codecalm 已提交
132
  "devDependencies": {
133 134
    "@babel/core": "^7.21.8",
    "@babel/preset-env": "^7.21.5",
135
    "@changesets/cli": "^2.26.1",
136 137
    "@rollup/plugin-commonjs": "^24.1.0",
    "@rollup/plugin-node-resolve": "^15.0.2",
138
    "@rollup/plugin-replace": "^5.0.2",
P
Paweł Kuna 已提交
139
    "@rollup/pluginutils": "^5.0.2",
C
codecalm 已提交
140
    "@rollup/stream": "^2.0.0",
141
    "@shopify/prettier-plugin-liquid": "^1.0.6",
C
codecalm 已提交
142
    "@tabler/icons": "^2.18.0",
C
codecalm 已提交
143
    "all-contributors-cli": "^6.25.0",
144
    "apexcharts": "^3.40.0",
P
Paweł Kuna 已提交
145
    "autoprefixer": "^10.4.14",
P
Paweł Kuna 已提交
146
    "autosize": "^6.0.1",
147
    "browser-sync": "^2.29.1",
P
Paweł Kuna 已提交
148
    "bundlewatch": "^0.3.3",
P
Paweł Kuna 已提交
149
    "choices.js": "^10.2.0",
150 151
    "chromatic": "^6.17.4",
    "countup.js": "^2.6.2",
C
codecalm 已提交
152
    "cross-spawn": "^7.0.3",
P
Paweł Kuna 已提交
153
    "dropzone": "^6.0.0-beta.2",
P
Paweł Kuna 已提交
154
    "flatpickr": "^4.6.13",
P
Paweł Kuna 已提交
155
    "fslightbox": "^3.4.1",
C
codecalm 已提交
156
    "gulp": "^4.0.2",
C
codecalm 已提交
157
    "gulp-clean": "^0.4.0",
C
codecalm 已提交
158
    "gulp-clean-css": "^4.3.0",
159
    "gulp-debug": "^4.0.0",
C
codecalm 已提交
160
    "gulp-header": "^2.0.9",
C
codecalm 已提交
161
    "gulp-postcss": "^9.0.1",
162
    "gulp-purgecss": "^5.0.0",
C
codecalm 已提交
163
    "gulp-rename": "^2.0.0",
P
Paweł Kuna 已提交
164
    "gulp-rtlcss": "^2.0.0",
P
Paweł Kuna 已提交
165
    "gulp-sass": "^5.1.0",
166
    "gulp-terser": "^2.1.0",
P
Paweł Kuna 已提交
167
    "imageoptim-cli": "^3.0.7",
168 169
    "imask": "^6.6.1",
    "jsvectormap": "^1.5.3",
170
    "list.js": "^2.3.1",
171
    "litepicker": "^2.0.12",
P
Paweł Kuna 已提交
172
    "nouislider": "^15.7.0",
173 174
    "plyr": "^3.7.8",
    "postcss": "^8.4.23",
175
    "prettier": "^2.8.8",
176
    "release-it": "^15.10.3",
P
Paweł Kuna 已提交
177
    "request": "^2.88.2",
178
    "rollup": "2.79.1",
C
codecalm 已提交
179
    "rollup-plugin-babel": "^4.4.0",
C
codecalm 已提交
180
    "rollup-plugin-cleanup": "^3.2.1",
181 182
    "sass": "^1.62.1",
    "tinymce": "^6.4.2",
C
codecalm 已提交
183
    "tom-select": "^2.2.2",
C
codecalm 已提交
184 185
    "vinyl-buffer": "^1.0.1",
    "vinyl-source-stream": "^2.0.0",
186 187
    "yaml": "^2.2.2",
    "yargs": "^17.7.2"
C
chomik 已提交
188 189
  },
  "dependencies": {
190 191
    "@popperjs/core": "^2.11.7",
    "bootstrap": "5.3.0-alpha3"
192 193
  },
  "peerDependencies": {
194
    "apexcharts": "^3.40.0",
P
Paweł Kuna 已提交
195
    "autosize": "^6.0.1",
P
Paweł Kuna 已提交
196
    "choices.js": "^10.2.0",
197
    "countup.js": "^2.6.2",
198
    "dropzone": "^6.0.0-beta.2",
P
Paweł Kuna 已提交
199
    "flatpickr": "^4.6.13",
P
Paweł Kuna 已提交
200
    "fslightbox": "^3.4.1",
201 202
    "imask": "^6.6.1",
    "jsvectormap": "^1.5.3",
P
Paweł Kuna 已提交
203
    "list.js": "^2.3.1",
204
    "litepicker": "^2.0.12",
P
Paweł Kuna 已提交
205
    "nouislider": "^15.7.0",
206 207
    "plyr": "^3.7.8",
    "tinymce": "^6.4.2",
C
codecalm 已提交
208
    "tom-select": "^2.2.2"
209
  },
210 211 212 213 214 215 216 217 218 219 220 221 222
  "peerDependenciesMeta": {
    "apexcharts": {
      "optional": true
    },
    "autosize": {
      "optional": true
    },
    "choices.js": {
      "optional": true
    },
    "countup.js": {
      "optional": true
    },
P
Paweł Kuna 已提交
223 224 225
    "dropzone": {
      "optional": true
    },
226 227 228
    "flatpickr": {
      "optional": true
    },
P
Paweł Kuna 已提交
229 230 231
    "fslightbox": {
      "optional": true
    },
232 233 234
    "imask": {
      "optional": true
    },
C
codecalm 已提交
235 236 237
    "jsvectormap": {
      "optional": true
    },
C
codecalm 已提交
238 239 240
    "list.js": {
      "optional": true
    },
241 242 243 244 245 246
    "litepicker": {
      "optional": true
    },
    "nouislider": {
      "optional": true
    },
C
codecalm 已提交
247
    "plyr": {
248
      "optional": true
P
Paweł Kuna 已提交
249
    },
P
Paweł Kuna 已提交
250 251 252
    "tinymce": {
      "optional": true
    },
C
codecalm 已提交
253
    "tom-select": {
P
Paweł Kuna 已提交
254
      "optional": true
255 256
    }
  },
C
codecalm 已提交
257 258
  "release-it": {
    "hooks": {
259
      "after:bump": "gulp build --latest-version ${latestVersion} --new-version ${version} && gulp build-demo",
C
codecalm 已提交
260 261 262 263 264 265 266 267 268 269
      "after:release": "echo Successfully released ${name} v${latestVersion} to ${repo.repository}."
    },
    "git": {
      "requireCleanWorkingDir": false,
      "addUntrackedFiles": true,
      "tagName": "v${version}"
    },
    "github": {
      "release": true
    }
C
codecalm 已提交
270 271 272
  },
  "directories": {
    "doc": "docs"
C
codecalm 已提交
273
  }
C
codecalm 已提交
274
}