|
1 | 1 | { |
2 | | - "name" : "svg-reactify", |
3 | | - "description" : "transform SVG files into React elements", |
4 | | - "homepage" : "https://github.com/coma/svg-reactify", |
5 | | - "repository" : "https://github.com/coma/svg-reactify", |
6 | | - "main" : "./index.js", |
7 | | - "version" : "1.1.1", |
8 | | - "license" : "MIT", |
9 | | - "private" : false, |
10 | | - "author" : "Eduardo García Sanz <eduardo@comakai.com>", |
11 | | - "contributors" : [ |
| 2 | + "name" : "svg-reactify", |
| 3 | + "description" : "transform SVG files into React elements", |
| 4 | + "homepage" : "https://github.com/coma/svg-reactify", |
| 5 | + "repository" : { |
| 6 | + "type": "git", |
| 7 | + "url" : "git://github.com/coma/svg-reactify.git" |
| 8 | + }, |
| 9 | + "version" : "2.0.0", |
| 10 | + "main" : "lib", |
| 11 | + "license" : "MIT", |
| 12 | + "private" : false, |
| 13 | + "author" : "Eduardo García Sanz <eduardo@comakai.com>", |
| 14 | + "contributors" : [ |
12 | 15 | "Matthew Brandly <matt@brandly.me>", |
13 | 16 | "Anders Stalheim Øfsdahl <https://github.com/andersaloof>" |
14 | 17 | ], |
15 | | - "keywords" : [ |
| 18 | + "keywords" : [ |
16 | 19 | "browserify", |
17 | 20 | "react", |
18 | 21 | "reactjs", |
19 | 22 | "svg", |
20 | 23 | "browserify-transform" |
21 | 24 | ], |
22 | | - "dependencies" : { |
23 | | - "through" : "2.3", |
24 | | - "react" : "0.14", |
25 | | - "react-addons-test-utils": "0.14", |
26 | | - "babel" : "5.8", |
27 | | - "svgo" : "0.5", |
28 | | - "extend" : "3.0", |
29 | | - "underscore.string": "3.2" |
| 25 | + "dependencies" : { |
| 26 | + "babel-core" : "6.5", |
| 27 | + "babel-preset-react" : "6.5", |
| 28 | + "lodash.camelcase" : "4.1", |
| 29 | + "lodash.kebabcase" : "4.0", |
| 30 | + "svgo" : "0.6", |
| 31 | + "through2" : "2.0" |
30 | 32 | }, |
31 | | - "devDependencies": { |
32 | | - "jsdom" : "5.4", |
33 | | - "mocha" : "2.2", |
34 | | - "should": "7.0", |
35 | | - "eslint": "1.1" |
| 33 | + "peerDependencies": { |
| 34 | + "react": "0.14" |
36 | 35 | }, |
37 | | - "scripts" : { |
38 | | - "lint": "eslint index.js", |
39 | | - "test": "npm run lint && mocha" |
| 36 | + "devDependencies" : { |
| 37 | + "babel-cli" : "6.5", |
| 38 | + "babel-eslint" : "5.0", |
| 39 | + "babel-preset-es2015" : "6.5", |
| 40 | + "enzyme" : "2.0", |
| 41 | + "eslint" : "2.2", |
| 42 | + "react" : "0.14", |
| 43 | + "react-addons-test-utils": "0.14", |
| 44 | + "react-dom" : "0.14", |
| 45 | + "tape" : "4.4" |
40 | 46 | }, |
41 | | - "engines" : { |
42 | | - "iojs": ">= 1.0.0", |
43 | | - "node": ">= 0.11.0" |
| 47 | + "scripts" : { |
| 48 | + "clean" : "rm -rf ./lib", |
| 49 | + "lint" : "eslint src", |
| 50 | + "build" : "npm run clean && babel src --out-dir lib", |
| 51 | + "test" : "babel-node test", |
| 52 | + "fooo" : "npm run lint && babel-node test && npm run build", |
| 53 | + "prepublish": "npm test && npm run build" |
44 | 54 | }, |
45 | | - "eslintConfig" : { |
46 | | - "env" : { |
47 | | - "node": true |
48 | | - }, |
49 | | - "rules" : { |
50 | | - "strict" : 0, |
51 | | - "new-cap" : 0, |
52 | | - "eqeqeq" : 2, |
53 | | - "curly" : 2, |
54 | | - "quotes" : [ |
55 | | - 1, |
56 | | - "single" |
57 | | - ], |
58 | | - "no-unreachable" : 2, |
59 | | - "space-before-blocks" : 2, |
60 | | - "space-before-function-paren": 2, |
61 | | - "no-multi-spaces" : 0, |
62 | | - "key-spacing" : 0, |
63 | | - "no-mixed-requires" : 0, |
64 | | - "no-use-before-define" : 0, |
65 | | - "no-underscore-dangle" : 0 |
66 | | - } |
| 55 | + "engines" : { |
| 56 | + "node": "> 4.0.0" |
67 | 57 | } |
68 | 58 | } |
0 commit comments