package.json 2.88 KB
Newer Older
liang ce committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
{
  "name": "url-loader",
  "version": "1.1.2",
  "description": "A loader for webpack which transforms files into base64 URIs",
  "license": "MIT",
  "repository": "webpack-contrib/url-loader",
  "author": "Tobias Koppers @sokra",
  "homepage": "https://github.com/webpack-contrib/url-loader",
  "bugs": "https://github.com/webpack-contrib/url-loader/issues",
  "bin": "",
  "main": "dist/cjs.js",
  "engines": {
    "node": ">= 6.9.0"
  },
  "scripts": {
    "start": "npm run build -- -w",
    "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
    "clean": "del-cli dist",
    "commitlint": "commitlint",
    "commitmsg": "commitlint -e $GIT_PARAMS",
    "lint": "eslint --cache src test",
    "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
    "lint-staged": "lint-staged",
    "prebuild": "npm run clean",
    "prepublish": "npm run build",
    "release": "standard-version",
    "release:ci": "conventional-github-releaser -p angular",
    "release:validate": "commitlint --from=$(git describe --tags --abbrev=0) --to=$(git rev-parse HEAD)",
    "security": "nsp check",
    "test": "jest",
    "test:watch": "jest --watch",
    "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
    "ci:lint": "npm run lint && npm run security",
    "ci:test": "npm run test -- --runInBand",
    "ci:coverage": "npm run test:coverage -- --runInBand",
    "defaults": "webpack-defaults"
  },
  "files": [
    "dist"
  ],
  "peerDependencies": {
    "webpack": "^3.0.0 || ^4.0.0"
  },
  "dependencies": {
    "loader-utils": "^1.1.0",
    "mime": "^2.0.3",
    "schema-utils": "^1.0.0"
  },
  "devDependencies": {
    "@commitlint/cli": "^5.2.5",
    "@commitlint/config-angular": "^5.1.1",
    "@commitlint/config-conventional": "^7.0.1",
    "@webpack-contrib/defaults": "^2.4.0",
    "@webpack-contrib/eslint-config-webpack": "^2.0.2",
    "@webpack-contrib/test-utils": "^0.1.2",
    "babel-cli": "^6.26.0",
    "babel-jest": "^22.0.3",
    "babel-plugin-transform-object-rest-spread": "^6.26.0",
    "babel-polyfill": "^6.26.0",
    "babel-preset-env": "^1.6.1",
    "conventional-github-releaser": "^2.0.0",
    "cross-env": "^5.1.1",
    "del": "^3.0.0",
    "del-cli": "^1.1.0",
    "eslint": "^4.13.1",
    "eslint-plugin-import": "^2.8.0",
    "eslint-plugin-prettier": "^2.4.0",
    "file-loader": "^1.1.6",
    "husky": "^0.14.3",
    "jest": "^22.0.3",
    "jest-serializer-path": "^0.1.15",
    "lint-staged": "^6.0.0",
    "memory-fs": "^0.4.1",
    "nsp": "^3.1.0",
    "pre-commit": "^1.2.2",
    "prettier": "^1.9.2",
    "standard-version": "^4.2.0",
    "webpack": "^4.0.0"
  },
  "keywords": [
    "webpack"
  ],
  "jest": {
    "snapshotSerializers": [
      "jest-serializer-path"
    ],
    "testEnvironment": "node"
  },
  "pre-commit": "lint-staged",
  "lint-staged": {
    "*.js": [
      "eslint --fix",
      "git add"
    ]
  }
}