|
1 | 1 | { |
2 | 2 | "name": "react-mdl-selectfield", |
3 | | - "description": "React Material Design Lite Selectfield Component", |
4 | | - "main": "components/index.js", |
| 3 | + "description": "React MDL SelectField Component", |
| 4 | + "main": "lib/index.js", |
| 5 | + "module": "es/index.js", |
| 6 | + "jsnext:main": "es/index.js", |
5 | 7 | "scripts": { |
6 | 8 | "start": "npm run storybook", |
7 | 9 | "storybook": "cross-env NODE_ENV=development start-storybook -p 9002", |
8 | | - "dev": "cross-env NODE_ENV=development node ./server.js", |
9 | | - "lint": "eslint components/** test/**", |
10 | | - "build-examples": "cross-env NODE_ENV=production webpack --progress --verbose --colors", |
| 10 | + "build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib", |
| 11 | + "build:es": "cross-env BABEL_ENV=es babel src --out-dir es", |
| 12 | + "build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack --progress --verbose --colors", |
| 13 | + "build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack --progress --verbose --colors", |
| 14 | + "build:examples": "cross-env BABEL_ENV=commonjs babel-node examples/buildAll.js", |
| 15 | + "build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min", |
| 16 | + "lint": "eslint src/** test/**", |
11 | 17 | "prepublish": "npm run lint", |
12 | 18 | "semantic-release": "semantic-release pre && npm publish && semantic-release post", |
13 | 19 | "test": "mocha --require test/config/setup 'test/*.js'", |
|
34 | 40 | "bugs": { |
35 | 41 | "url": "https://github.com/HriBB/react-mdl-selectfield/issues" |
36 | 42 | }, |
37 | | - "homepage": "https://github.com/HriBB/react-mdl-selectfield", |
38 | | - "peerDependencies": { |
39 | | - "react-mdl": "^1.6.1" |
40 | | - }, |
| 43 | + "homepage": "https://hribb.github.io/react-mdl-selectfield/", |
41 | 44 | "devDependencies": { |
42 | 45 | "@kadira/storybook": "^1.41.0", |
43 | 46 | "autoprefixer": "^6.4.0", |
|
80 | 83 | "sinon": "^1.17.4", |
81 | 84 | "style-loader": "^0.13.0", |
82 | 85 | "webpack": "^1.13.1", |
83 | | - "webpack-dev-server": "^1.14.1", |
84 | | - "webpack-hot-middleware": "^2.12.2" |
| 86 | + "webpack-dev-server": "^1.14.1" |
85 | 87 | }, |
86 | 88 | "dependencies": { |
87 | 89 | "@kadira/storybook-deployer": "^1.0.0", |
|
0 commit comments