package.json 2.27 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
{
  "name": "less-loader",
  "version": "4.1.0",
  "author": "Johannes Ewald @jhnns",
  "description": "Less loader for webpack. Compiles Less to CSS.",
  "license": "MIT",
  "engines": {
    "node": ">= 4.8 < 5.0.0 || >= 5.10"
  },
  "main": "dist/cjs.js",
  "files": [
    "dist"
  ],
  "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",
    "create-spec": "babel-node test/helpers/createSpec.js",
    "lint": "eslint --cache src test",
    "pretest": "npm run create-spec",
    "test": "jest",
    "posttest": "npm run lint",
    "lint-staged": "lint-staged",
    "prebuild": "npm run clean",
    "prepare": "npm run build",
    "release": "standard-version",
    "security": "nsp check",
    "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
    "travis:lint": "npm run lint && npm run security",
    "travis:test": "npm run test -- --runInBand",
    "pretravis:coverage": "npm run pretest",
    "travis:coverage": "npm run test:coverage -- --runInBand",
    "appveyor:test": "npm run test",
    "defaults": "webpack-defaults"
  },
  "dependencies": {
    "clone": "^2.1.1",
    "loader-utils": "^1.1.0",
    "pify": "^3.0.0"
  },
  "peerDependencies": {
    "less": "^2.3.1 || ^3.0.0",
    "webpack": "^2.0.0 || ^3.0.0 || ^4.0.0"
  },
  "devDependencies": {
    "babel-cli": "^6.24.0",
    "babel-jest": "^21.2.0",
    "babel-plugin-transform-object-rest-spread": "^6.23.0",
    "babel-polyfill": "^6.23.0",
    "babel-preset-env": "^1.6.0",
    "cross-env": "^3.2.4",
    "del-cli": "^0.2.1",
    "eslint": "^3.18.0",
    "eslint-config-webpack": "^1.2.1",
    "eslint-plugin-import": "^2.2.0",
    "inspect-loader": "^1.0.0",
    "jest": "^21.2.1",
    "less": "^3.0.1",
    "lint-staged": "^3.4.0",
    "nsp": "^2.6.3",
    "pre-commit": "^1.2.2",
    "standard-version": "^4.0.0",
    "webpack": "^3.0.0",
    "webpack-defaults": "^1.6.0"
  },
  "repository": "https://github.com/webpack-contrib/less-loader.git",
  "bugs": "https://github.com/webpack-contrib/less-loader/issues",
  "homepage": "https://github.com/webpack-contrib/less-loader",
  "pre-commit": "lint-staged",
  "lint-staged": {
    "*.js": [
      "eslint --fix",
      "git add"
    ]
  }
}