|
3 | 3 | "version": "0.0.0",
|
4 | 4 | "description": "Swipable shelf",
|
5 | 5 | "main": "dist/index.js",
|
| 6 | + "source": "src/index.jsx", |
| 7 | + "module": "dist/index.mjs", |
| 8 | + "unpkg": "dist/index.umd.js", |
6 | 9 | "scripts": {
|
7 | 10 | "test": "yarn test:eslint && yarn test:prettier",
|
8 | 11 | "test:eslint": "eslint '**/*.js'",
|
9 | 12 | "test:prettier": "prettier \"**/*.{js,jsx,css,scss,json,md,mdx,html}\" --list-different",
|
10 |
| - "format": "prettier \"**/*.{js,jsx,css,scss,json,md,mdx,html}\" --write" |
| 13 | + "format": "prettier \"**/*.{js,jsx,css,scss,json,md,mdx,html}\" --write", |
| 14 | + "storybook": "start-storybook -p 6006", |
| 15 | + "build-storybook": "build-storybook", |
| 16 | + "prepublishOnly": "microbundle --jsx React.createElement --globals prop-types=PropTypes,react=React", |
| 17 | + "release": "np" |
11 | 18 | },
|
12 | 19 | "repository": {
|
13 | 20 | "type": "git",
|
|
25 | 32 | "homepage": "https://github.com/julesforrest/react-shelf#readme",
|
26 | 33 | "dependencies": {},
|
27 | 34 | "devDependencies": {
|
| 35 | + "@babel/core": "^7.4.0", |
| 36 | + "@storybook/addon-actions": "^5.0.5", |
| 37 | + "@storybook/addon-links": "^5.0.5", |
| 38 | + "@storybook/addons": "^5.0.5", |
| 39 | + "@storybook/react": "^5.0.5", |
| 40 | + "babel-loader": "^8.0.5", |
28 | 41 | "eslint": "^5.15.3",
|
29 | 42 | "eslint-config-airbnb": "^17.1.0",
|
30 | 43 | "eslint-config-prettier": "^4.1.0",
|
31 | 44 | "eslint-plugin-import": "^2.16.0",
|
32 | 45 | "eslint-plugin-jsx-a11y": "^6.2.1",
|
33 | 46 | "eslint-plugin-react": "^7.12.4",
|
34 | 47 | "husky": "^1.3.1",
|
| 48 | + "microbundle": "^0.11.0", |
| 49 | + "np": "^4.0.2", |
35 | 50 | "prettier": "1.16.4",
|
36 | 51 | "pretty-quick": "^1.10.0"
|
37 | 52 | },
|
| 53 | + "peerDependencies": { |
| 54 | + "prop-types": "^15.0.0", |
| 55 | + "react": "^16.3.0", |
| 56 | + "react-dom": "^16.0.0" |
| 57 | + }, |
38 | 58 | "husky": {
|
39 | 59 | "hooks": {
|
40 | 60 | "pre-commit": "pretty-quick --staged"
|
|
0 commit comments