|
5 | 5 | "author": "Mark <mark@remarkablemark.org>", |
6 | 6 | "main": "index.js", |
7 | 7 | "scripts": { |
8 | | - "build:unmin": "NODE_ENV=development webpack index.js dist/html-react-parser.js", |
9 | | - "build:min": "NODE_ENV=production webpack -p index.js dist/html-react-parser.min.js", |
| 8 | + "build": "npm run clean && npm run build:min && npm run build:unmin", |
| 9 | + "build:min": "NODE_ENV=production webpack -o dist/html-react-parser.min.js", |
| 10 | + "build:unmin": "NODE_ENV=development webpack -o dist/html-react-parser.js", |
10 | 11 | "clean": "rm -rf dist", |
11 | 12 | "commitmsg": "commitlint -e $GIT_PARAMS", |
12 | 13 | "cover": "istanbul cover _mocha -- -R spec \"test/**/*\"", |
13 | 14 | "coveralls": "cat coverage/lcov.info | coveralls", |
14 | 15 | "lint": "eslint --ignore-path .gitignore .", |
15 | 16 | "lint:fix": "npm run lint -- --fix", |
16 | 17 | "precommit": "lint-staged", |
17 | | - "prepublishOnly": "npm run clean && npm run build:unmin && npm run build:min", |
| 18 | + "prepublishOnly": "npm run build", |
18 | 19 | "release": "standard-version --no-verify", |
19 | 20 | "test": "mocha", |
20 | | - "test:benchmark": "node ./test/benchmark.js" |
| 21 | + "test:benchmark": "node test/benchmark.js" |
21 | 22 | }, |
22 | 23 | "repository": { |
23 | 24 | "type": "git", |
|
36 | 37 | "dependencies": { |
37 | 38 | "html-dom-parser": "0.1.3", |
38 | 39 | "react-dom-core": "0.0.3", |
39 | | - "style-to-object": "0.2.1" |
| 40 | + "style-to-object": "0.2.2" |
40 | 41 | }, |
41 | 42 | "devDependencies": { |
42 | | - "@commitlint/cli": "^6.1.0", |
43 | | - "@commitlint/config-conventional": "^6.1.0", |
| 43 | + "@commitlint/cli": "^7.1.2", |
| 44 | + "@commitlint/config-conventional": "^7.1.2", |
44 | 45 | "benchmark": "2.1.4", |
45 | 46 | "coveralls": "^3.0.0", |
46 | | - "eslint": "^4.18.0", |
| 47 | + "eslint": "^5.5.0", |
47 | 48 | "eslint-plugin-prettier": "^2.6.0", |
48 | 49 | "husky": "^0.14.3", |
49 | 50 | "istanbul": "^0.4.5", |
|
53 | 54 | "react": "^16", |
54 | 55 | "react-dom": "^16", |
55 | 56 | "standard-version": "^4.3.0", |
56 | | - "webpack": "^3.11.0" |
| 57 | + "webpack": "^4.19.0", |
| 58 | + "webpack-cli": "^3.1.0" |
57 | 59 | }, |
58 | 60 | "peerDependencies": { |
59 | 61 | "react": "^0.14 || ^15 || ^16" |
|
0 commit comments