UNPKG

5.3 kBJSONView Raw
1{
2 "name": "@readme/ui",
3 "version": "1.10.2",
4 "description": "A modular component library and design system for the ReadMe front end.",
5 "main": ".bundles/umd/index.js",
6 "browser": ".bundles/umd/index.js",
7 "module": ".bundles/es/index.js",
8 "directories": {
9 "lib": ".bundles/lib",
10 "umd": ".bundles/umd",
11 "es": ".bundles/es"
12 },
13 "scripts": {
14 "release": "npx semantic-release",
15 "release.debug": "npm run release -- --dryRun --debug",
16 "build": "webpack",
17 "heroku-postbuild": "npm run docs:build",
18 "docs": "npx nodemon -w styleguide.config.js -x 'styleguidist server'",
19 "docs:build": "styleguidist build",
20 "icons": "make icons",
21 "lint": "eslint . --ext js --ext jsx",
22 "prepack": "# npm run build # && npm run icons",
23 "pretest": "npm run lint",
24 "postbuild": "babel --config-file ./esm.babel.config.json -d ./.bundles/es ./src",
25 "prettier": "prettier --list-different --write \"./**/**.{js,jsx}\"",
26 "start": "styleguidist server",
27 "linkup": "bash tasks/linkup.sh",
28 "test": "jest --coverage",
29 "test:watch": "jest --coverage=false --watch",
30 "watch": "webpack -w --progress",
31 "elem": "bash tasks/new-elem.sh"
32 },
33 "dependencies": {
34 "@bem-react/classname": "^1.5.7",
35 "@readme/emojis": "^2.0.1",
36 "@readme/syntax-highlighter": "^10.0.1",
37 "algoliasearch": "^4.1.0",
38 "chart.js": "^2.9.3",
39 "clipboard-copy": "^3.1.0",
40 "emoji-regex": "^9.0.0",
41 "lodash": "^4.17.15",
42 "modularscale-sass": "^3.0.10",
43 "react-chartjs-2": "^2.8.0",
44 "react-instantsearch-dom": "^6.4.0",
45 "react-transition-group": "^4.4.1"
46 },
47 "peerDependencies": {
48 "react": "16.x",
49 "react-dom": "^16.x"
50 },
51 "devDependencies": {
52 "@babel/cli": "^7.11.6",
53 "@babel/core": "^7.11.6",
54 "@babel/plugin-proposal-class-properties": "^7.10.4",
55 "@babel/plugin-transform-modules-commonjs": "^7.10.4",
56 "@babel/plugin-transform-runtime": "^7.11.5",
57 "@babel/preset-env": "^7.11.5",
58 "@babel/preset-react": "^7.10.4",
59 "@babel/runtime": "^7.11.2",
60 "@commitlint/cli": "^9.0.1",
61 "@commitlint/config-angular": "^9.0.1",
62 "@commitlint/config-conventional": "^9.0.1",
63 "@readme/eslint-config": "^3.4.2",
64 "@semantic-release/changelog": "^5.0.1",
65 "@semantic-release/git": "^9.0.0",
66 "@testing-library/react-hooks": "^3.4.1",
67 "acorn": "^6.4.0",
68 "babel-eslint": "^10.1.0",
69 "babel-jest": "25.1.0",
70 "babel-loader": "^8.1.0",
71 "babel-plugin-css-modules-transform": "^1.6.2",
72 "babel-plugin-module-resolver": "^4.0.0",
73 "babel-plugin-react-css-modules-transform": "^1.5.5",
74 "babel-plugin-transform-object-rest-spread": "^6.26.0",
75 "babel-polyfill": "^6.26.0",
76 "css-loader": "^3.4.2",
77 "enzyme": "^3.9.0",
78 "enzyme-adapter-react-16": "^1.3.0",
79 "eslint": "^7.7.0",
80 "fetch-mock": "^9.10.4",
81 "glob": "^7.1.6",
82 "happypack": "^5.0.1",
83 "husky": "^4.2.5",
84 "identity-obj-proxy": "^3.0.0",
85 "install": "^0.13.0",
86 "isomorphic-fetch": "^2.2.1",
87 "jest": "^26.0.1",
88 "mini-css-extract-plugin": "^0.9.0",
89 "ng-annotate-loader": "^0.6.1",
90 "node-sass": "^4.13.0",
91 "node-sass-tilde-importer": "^1.0.2",
92 "nodemon": "^2.0.2",
93 "parallel-webpack": "^2.6.0",
94 "postcss-gradient-transparency-fix": "^3.0.0",
95 "postcss-loader": "^3.0.0",
96 "postcss-preset-env": "^6.7.0",
97 "prettier": "^2.0.5",
98 "react": "^16.13.1",
99 "react-dom": "^16.13.1",
100 "react-styleguidist": "^11.0.0",
101 "require-dir": "^1.2.0",
102 "sass-loader": "^7.3.1",
103 "semantic-release": "^17.0.4",
104 "style-loader": "^1.1.2",
105 "svg-react-loader": "^0.4.6",
106 "terser-webpack-plugin": "^4.2.2",
107 "url-loader": "^4.1.0",
108 "webpack": "^4.44.2",
109 "webpack-cli": "^3.3.12"
110 },
111 "husky": {
112 "hooks": {
113 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
114 }
115 },
116 "author": "Rafe Goldberg <rafegoldberg@gmail.com> http://rgd2.co",
117 "license": "ISC",
118 "homepage": "https://readmeio.github.io/ui/#!/",
119 "repository": {
120 "type": "git",
121 "url": "git+https://github.com/readmeio/ui.git"
122 },
123 "publishConfig": {
124 "registry": "http://registry.npmjs.org",
125 "access": "public"
126 },
127 "jest": {
128 "testURL": "http://localhost",
129 "testPathIgnorePatterns": [
130 "es/",
131 "lib/",
132 "src/styles"
133 ],
134 "coverageThreshold": {
135 "global": {
136 "branches": 80,
137 "functions": 80,
138 "lines": 80,
139 "statements": 80
140 }
141 },
142 "setupFiles": [
143 "<rootDir>/vendor/enzyme"
144 ],
145 "coveragePathIgnorePatterns": [
146 "<rootDir>/webpack.*.js"
147 ],
148 "collectCoverageFrom": [
149 "src/**/*.{js,jsx}",
150 "!**/node_modules/**",
151 "!**/coverage/lcov-report/**"
152 ],
153 "transform": {
154 "^.+\\.jsx?$": "babel-jest",
155 ".+\\.(css|styl|less|sass|scss)$": "identity-obj-proxy"
156 },
157 "moduleNameMapper": {
158 "@utils": "<rootDir>/src/core/utils",
159 "^.+\\.(css|less|scss)$": "identity-obj-proxy",
160 "@ui": "<rootDir>/src/ui"
161 }
162 },
163 "bugs": {
164 "url": "https://github.com/readmeio/ui/issues"
165 },
166 "keywords": [
167 "ui-library",
168 "component-library",
169 "living-styleguide",
170 "react"
171 ],
172 "engines": {
173 "node": ">=10"
174 },
175 "prettier": "@readme/eslint-config/prettier"
176}