UNPKG

2.35 kBJSONView Raw
1{
2 "name": "thread-loader",
3 "version": "2.0.2",
4 "description": "Runs the following loaders in a worker pool",
5 "author": "Tobias Koppers @sokra",
6 "license": "MIT",
7 "main": "dist/cjs.js",
8 "files": [
9 "dist"
10 ],
11 "scripts": {
12 "start": "npm run build -- -w",
13 "clean": "del-cli dist",
14 "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js'",
15 "lint": "eslint --cache src test",
16 "lint-staged": "lint-staged",
17 "prebuild": "npm run clean",
18 "prepare": "npm run build",
19 "release": "standard-version",
20 "security": "npm audit",
21 "test": "jest",
22 "test:watch": "jest --watch",
23 "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
24 "travis:coverage": "npm run test:coverage -- --runInBand",
25 "travis:lint": "npm run lint && npm run security",
26 "travis:test": "npm run test -- --runInBand",
27 "appveyor:test": "npm run test",
28 "webpack-defaults": "webpack-defaults"
29 },
30 "dependencies": {
31 "async": "^2.6.1",
32 "loader-runner": "^2.3.1",
33 "loader-utils": "^1.1.0"
34 },
35 "devDependencies": {
36 "babel-cli": "^6.26.0",
37 "babel-core": "^6.26.3",
38 "babel-jest": "^23.6.0",
39 "babel-loader": "^7.1.5",
40 "babel-plugin-transform-object-rest-spread": "^6.26.0",
41 "babel-polyfill": "^6.26.0",
42 "babel-preset-env": "^1.7.0",
43 "cross-env": "^5.2.0",
44 "css-loader": "^1.0.1",
45 "del-cli": "^1.1.0",
46 "eslint": "^5.10.0",
47 "eslint-config-webpack": "^1.2.5",
48 "eslint-plugin-import": "^2.14.0",
49 "jest": "^23.6.0",
50 "lint-staged": "^8.1.0",
51 "lodash": "^4.17.11",
52 "mini-css-extract-plugin": "^0.5.0",
53 "nodemon": "^1.18.8",
54 "node-sass": "^4.11.0",
55 "pre-commit": "^1.2.2",
56 "sass-loader": "^7.1.0",
57 "standard-version": "^4.4.0",
58 "webpack": "^4.27.1",
59 "webpack-cli": "^3.1.2",
60 "webpack-defaults": "^1.6.0"
61 },
62 "engines": {
63 "node": ">= 6.9.0 <7.0.0 || >= 8.9.0"
64 },
65 "peerDependencies": {
66 "webpack": "^2.0.0 || ^3.0.0 || ^4.0.0"
67 },
68 "repository": "https://github.com/webpack-contrib/thread-loader.git",
69 "bugs": "https://github.com/webpack-contrib/thread-loader/issues",
70 "homepage": "https://github.com/webpack-contrib/thread-loader",
71 "pre-commit": "lint-staged",
72 "lint-staged": {
73 "*.js": [
74 "eslint --fix",
75 "git add"
76 ]
77 }
78}