|
3 | 3 | "version": "0.5.5",
|
4 | 4 | "author": "Tobias Koppers @sokra",
|
5 | 5 | "description": "html loader module for webpack",
|
6 |
| - "license": "MIT", |
7 |
| - "main": "index.js", |
| 6 | + "main": "dist/cjs.js", |
8 | 7 | "files": [
|
9 |
| - "lib" |
| 8 | + "dist" |
10 | 9 | ],
|
11 | 10 | "scripts": {
|
12 |
| - "lint": "eslint lib test", |
13 |
| - "pretest": "npm run lint", |
14 |
| - "test": "mocha --harmony --full-trace --check-leaks", |
15 |
| - "cover": "istanbul cover -x *.runtime.js node_modules/mocha/bin/_mocha", |
16 |
| - "release": "standard-version" |
| 11 | + "start": "npm run build -- -w", |
| 12 | + "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js'", |
| 13 | + "clean": "del-cli dist", |
| 14 | + "clean:dist": "del-cli dist", |
| 15 | + "lint": "eslint --cache src test", |
| 16 | + "lint-staged": "lint-staged", |
| 17 | + "prebuild": "npm run clean", |
| 18 | + "prepublish": "npm run build", |
| 19 | + "release": "standard-version", |
| 20 | + "security": "nsp check", |
| 21 | + "serve:dev": "nodemon $2 --exec babel-node", |
| 22 | + "test": "jest", |
| 23 | + "test:watch": "jest --watch", |
| 24 | + "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage", |
| 25 | + "travis:coverage": "npm run test:coverage -- --runInBand", |
| 26 | + "travis:lint": "npm run lint && npm run security", |
| 27 | + "travis:test": "npm run test -- --runInBand", |
| 28 | + "webpack-defaults": "webpack-defaults", |
| 29 | + "appveyor:test": "npm run test" |
17 | 30 | },
|
18 | 31 | "dependencies": {
|
19 | 32 | "es6-templates": "^0.2.3",
|
20 | 33 | "fastparse": "^1.1.1",
|
21 |
| - "html-minifier": "^3.5.8", |
22 |
| - "loader-utils": "^1.1.0", |
23 |
| - "object-assign": "^4.1.1" |
| 34 | + "html-minifier": "^3.0.1", |
| 35 | + "loader-utils": "^1.0.2", |
| 36 | + "object-assign": "^4.1.0", |
| 37 | + "schema-utils": "^0.4.2" |
24 | 38 | },
|
25 | 39 | "devDependencies": {
|
26 |
| - "beautify-lint": "^1.0.4", |
27 |
| - "codecov.io": "^0.1.6", |
28 |
| - "eslint": "^3.1.1", |
29 |
| - "istanbul": "^0.4.5", |
30 |
| - "js-beautify": "^1.6.3", |
31 |
| - "mocha": "^2.5.3", |
32 |
| - "should": "^10.0.0", |
33 |
| - "standard-version": "^4.3.0" |
| 40 | + "babel-cli": "^6.26.0", |
| 41 | + "babel-jest": "^21.2.0", |
| 42 | + "babel-plugin-transform-object-rest-spread": "^6.26.0", |
| 43 | + "babel-polyfill": "^6.26.0", |
| 44 | + "babel-preset-env": "^1.6.1", |
| 45 | + "cross-env": "^5.1.1", |
| 46 | + "del-cli": "^1.1.0", |
| 47 | + "eslint": "^4.12.1", |
| 48 | + "eslint-config-webpack": "^1.2.5", |
| 49 | + "eslint-plugin-import": "^2.8.0", |
| 50 | + "jest": "^21.2.1", |
| 51 | + "lint-staged": "^6.0.0", |
| 52 | + "nsp": "^3.1.0", |
| 53 | + "pre-commit": "^1.2.2", |
| 54 | + "standard-version": "^4.2.0", |
| 55 | + "webpack": "^3.10.0", |
| 56 | + "webpack-defaults": "^1.6.0" |
34 | 57 | },
|
35 |
| - "homepage": "https://github.com/webpack-contrib/html-loader", |
36 |
| - "repository": "https://github.com/webpack-contrib/html-loader.git", |
37 |
| - "bugs": "https://github.com/webpack-contrib/html-loader/issues" |
| 58 | + "peerDependencies": { |
| 59 | + "webpack": "^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0" |
| 60 | + }, |
| 61 | + "engines": { |
| 62 | + "node": ">= 6.9.0 || >= 8.9.0" |
| 63 | + }, |
| 64 | + "homepage": "http://github.com/webpack-contrib/html-loader", |
| 65 | + "repository": { |
| 66 | + "type": "git", |
| 67 | + "url": "git@github.com:webpack/html-loader.git" |
| 68 | + }, |
| 69 | + "pre-commit": "lint-staged", |
| 70 | + "lint-staged": { |
| 71 | + "*.js": [ |
| 72 | + "eslint --fix", |
| 73 | + "git add" |
| 74 | + ] |
| 75 | + } |
38 | 76 | }
|
0 commit comments