|
1 | 1 | { |
2 | 2 | "name": "react-content-loader", |
3 | 3 | "version": "1.4.1", |
4 | | - "description": |
5 | | - "This project is a collection the loader based on styles cards on Facebook, make with SVG and React.", |
| 4 | + "description": "This project is a collection the loader based on styles cards on Facebook, make with SVG and React.", |
6 | 5 | "repository": { |
7 | 6 | "type": "git", |
8 | 7 | "url": "https://github.com/danilowoz/react-content-loader" |
|
14 | 13 | "url": "https://github.com/danilowoz/react-content-loader/issues" |
15 | 14 | }, |
16 | 15 | "homepage": "https://github.com/danilowoz/react-content-loader", |
17 | | - "keywords": ["react", "facebook-style", "loader", "loading", "content", "svg"], |
| 16 | + "keywords": [ |
| 17 | + "react", |
| 18 | + "facebook-style", |
| 19 | + "loader", |
| 20 | + "loading", |
| 21 | + "content", |
| 22 | + "svg" |
| 23 | + ], |
18 | 24 | "options": { |
19 | 25 | "mocha": "--require scripts/mocha_runner ./tests/**/*.js ./tests/*.js" |
20 | 26 | }, |
21 | 27 | "scripts": { |
22 | | - "watch": |
23 | | - "babel --plugins transform-es2015-modules-umd src --watch --ignore tests --out-dir ./dist", |
24 | | - "prepublish": |
25 | | - "babel --plugins transform-es2015-modules-umd src --ignore tests --out-dir ./dist", |
| 28 | + "watch": "babel --plugins transform-es2015-modules-umd src --watch --ignore tests --out-dir ./dist", |
| 29 | + "prepublish": "babel --plugins transform-es2015-modules-umd src --ignore tests --out-dir ./dist", |
26 | 30 | "lint": "eslint 'src/**/*.js'", |
27 | 31 | "prettier": "prettier --write 'src/**/*.{js,jsx,json,css}'", |
28 | 32 | "testonly": "mocha $npm_package_options_mocha", |
29 | 33 | "test": "npm run lint && npm run testonly", |
30 | 34 | "test-watch": "npm run testonly -- --watch --watch-extensions js", |
31 | 35 | "storybook": "start-storybook -p 6006", |
32 | | - "build-storybook": "build-storybook" |
| 36 | + "build-storybook": "build-storybook", |
| 37 | + "flow": "flow" |
33 | 38 | }, |
34 | 39 | "devDependencies": { |
35 | 40 | "@storybook/react": "^3.1.9", |
|
39 | 44 | "babel-plugin-transform-es2015-modules-umd": "^6.6.5", |
40 | 45 | "babel-polyfill": "^6.7.4", |
41 | 46 | "babel-preset-es2015": "^6.6.0", |
| 47 | + "babel-preset-flow": "^6.23.0", |
42 | 48 | "babel-preset-react": "^6.5.0", |
43 | 49 | "babel-preset-stage-2": "^6.5.0", |
44 | 50 | "chai": "^3.5.0", |
|
49 | 55 | "eslint-plugin-babel": "^3.1.0", |
50 | 56 | "eslint-plugin-prettier": "^2.2.0", |
51 | 57 | "eslint-plugin-react": "^4.2.3", |
| 58 | + "flow-bin": "^0.57.3", |
52 | 59 | "jsdom": "^8.1.0", |
53 | 60 | "mocha": "^2.4.5", |
54 | 61 | "nodemon": "^1.9.1", |
|
0 commit comments