aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: a3d9f20f9b1a6e58c9f875aefd24b8e6c9e36b77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
  "name": "@tabler/icons",
  "private": true,
  "workspaces": {
    "packages": [
      "packages/*"
    ],
    "nohoist": []
  },
  "version": "2.1.0",
  "description": "A set of free MIT-licensed high-quality SVG icons for you to use in your web projects.",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/tabler/tabler-icons.git"
  },
  "main": "./icons-react/dist/index.cjs.js",
  "exports": {
    "import": "./icons-react/dist/index.esm.js",
    "require": "./icons-react/dist/index.cjs.js"
  },
  "module": "./icons-react/dist/index.esm.js",
  "unpkg": "./icons-react/dist/index.umd.js",
  "umd:main": "./icons-react/dist/index.umd.js",
  "types": "./icons-react/index.d.ts",
  "sideEffects": false,
  "author": "codecalm",
  "license": "MIT",
  "homepage": "https://tabler-icons.io",
  "bugs": {
    "url": "https://github.com/tabler/tabler-icons/issues"
  },
  "funding": {
    "type": "github",
    "url": "https://github.com/sponsors/codecalm"
  },
  "files": [
    "tags.json",
    "icons/*",
    "icons-png/*",
    "icons-react/index.d.ts",
    "icons-react/dist/*",
    "iconfont/*",
    "tabler-sprite.svg",
    "tabler-sprite-nostroke.svg"
  ],
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "build": "yarn optimize && yarn update-version && yarn update-unicode && yarn build-svg && yarn build-react",
    "build-svg": "rm -rf dist && bundle exec jekyll build && mkdir dist && cp -R _site/{icons,tags.json} dist/ && rm -rf _site",
    "build-react": "babel-node ./scripts/build-react.js",
    "optimize": "babel-node ./scripts/optimize.js --presets @babel/env",
    "update-version": "babel-node ./scripts/update-version.js --presets @babel/env",
    "update-unicode": "babel-node ./scripts/update-unicode.js --presets @babel/env",
    "start": "bundle exec jekyll serve --watch --livereload --trace --livereload_port 8888",
    "icons": "yarn workspace @tabler/icons",
    "icons-angular": "yarn workspace @tabler/icons-angular",
    "icons-iconfont": "yarn workspace @tabler/icons-iconfont",
    "icons-preact": "yarn workspace @tabler/icons-preact",
    "icons-svelte": "yarn workspace @tabler/icons-svelte",
    "icons-vue-2": "yarn workspace @tabler/icons-vue-2",
    "icons-vue-3": "yarn workspace @tabler/icons-vue-3",
    "prebuild-react": "rm -rf ./icons-react/dist/",
    "_build-react": "rollup -c",
    "release": "release-it",
    "_optimize": "gulp optimize",
    "_build": "gulp build",
    "_build-iconfont": "gulp build-iconfont",
    "import": "./_import.sh && gulp optimize"
  },
  "keywords": [
    "icons",
    "svg",
    "png",
    "iconfont",
    "react",
    "front-end",
    "web"
  ],
  "devDependencies": {
    "@babel/core": "7.11.6",
    "@babel/parser": "7.11.5",
    "@babel/preset-env": "7.11.5",
    "@babel/preset-react": "7.10.4",
    "@babel/node": "^7.13.10",
    "@rollup/plugin-babel": "5.2.1",
    "@rollup/plugin-commonjs": "15.1.0",
    "@rollup/plugin-node-resolve": "9.0.0",
    "@svgr/babel-plugin-replace-jsx-attribute-value": "5.0.1",
    "@svgr/core": "5.4.0",
    "clean-css": "4.2.3",
    "csv-parser": "^3.0.0",
    "glob": "7.1.6",
    "gulp": "4.0.2",
    "gulp-iconfont": "10.0.3",
    "gulp-svgo": "^2.2.1",
    "gulp-zip": "5.0.2",
    "lodash.template": "4.5.0",
    "minimist": "1.2.5",
    "node-sass": "7.0.1",
    "parse-svg-path": "^0.1.2",
    "release-it": "14.12.5",
    "rollup": "2.70.1",
    "rollup-plugin-filesize": "9.1.2",
    "rollup-plugin-peer-deps-external": "2.2.4",
    "rollup-plugin-terser": "7.0.2",
    "rollup-plugin-uglify": "6.0.4",
    "svg-outline-stroke": "1.3.1"
  },
  "release-it": {
    "hooks": {
      "after:bump": "gulp build --latest-version ${latestVersion} --new-version ${version} --verbose",
      "after:release": "echo Successfully released ${name} v${latestVersion} to ${repo.repository}."
    },
    "git": {
      "addUntrackedFiles": true,
      "changelog": "gulp changelog --silent --latest-tag ${latestTag}",
      "tagName": "v${version}",
      "requireBranch": "master",
      "requireCommits": true
    },
    "github": {
      "release": true
    }
  },
  "peerDependencies": {
    "react": "^16.x || 17.x",
    "react-dom": "^16.x || 17.x"
  },
  "peerDependenciesMeta": {
    "react": {
      "optional": true
    },
    "react-dom": {
      "optional": true
    }
  }
}