UNPKG

2.68 kBJSONView Raw
1{
2 "name": "file-loader",
3 "version": "3.0.1",
4 "description": "A file loader module for webpack",
5 "license": "MIT",
6 "repository": "webpack-contrib/file-loader",
7 "author": "Tobias Koppers @sokra",
8 "homepage": "https://github.com/webpack-contrib/file-loader",
9 "bugs": "https://github.com/webpack-contrib/file-loader/issues",
10 "main": "dist/cjs.js",
11 "engines": {
12 "node": ">= 6.9.0"
13 },
14 "scripts": {
15 "start": "npm run build -- -w",
16 "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
17 "clean": "del-cli dist",
18 "commitlint": "commitlint",
19 "commitmsg": "commitlint -e $GIT_PARAMS",
20 "lint": "eslint --cache src test",
21 "prebuild": "npm run clean",
22 "prepublish": "npm run build",
23 "release": "standard-version",
24 "security": "npm audit",
25 "test": "jest",
26 "test:watch": "jest --watch",
27 "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
28 "ci:lint": "npm run lint && npm run security",
29 "ci:test": "npm run test -- --runInBand",
30 "ci:coverage": "npm run test:coverage -- --runInBand",
31 "ci:lint:commits": "commitlint --from=origin/master --to=${CIRCLE_SHA1}",
32 "defaults": "webpack-defaults"
33 },
34 "files": [
35 "dist"
36 ],
37 "peerDependencies": {
38 "webpack": "^4.0.0"
39 },
40 "dependencies": {
41 "loader-utils": "^1.0.2",
42 "schema-utils": "^1.0.0"
43 },
44 "devDependencies": {
45 "@babel/cli": "^7.2.0",
46 "@babel/core": "^7.2.2",
47 "@babel/polyfill": "^7.0.0",
48 "@babel/preset-env": "^7.2.0",
49 "@commitlint/cli": "^7.2.1",
50 "@commitlint/config-conventional": "^7.1.2",
51 "@webpack-contrib/defaults": "^3.0.0",
52 "@webpack-contrib/eslint-config-webpack": "^3.0.0",
53 "babel-core": "^7.0.0-bridge.0",
54 "babel-jest": "^23.6.0",
55 "cross-env": "^5.0.0",
56 "del": "^3.0.0",
57 "del-cli": "^1.0.0",
58 "eslint": "^5.10.0",
59 "eslint-plugin-import": "^2.0.0",
60 "eslint-plugin-prettier": "^3.0.0",
61 "husky": "^1.3.0",
62 "jest": "^23.6.0",
63 "lint-staged": "^8.1.0",
64 "memory-fs": "^0.4.0",
65 "prettier": "^1.11.1",
66 "standard-version": "^4.0.0",
67 "url-loader": "^1.1.2",
68 "webpack": "^4.5.0"
69 },
70 "keywords": [
71 "webpack"
72 ],
73 "babel": {
74 "presets": [
75 [
76 "@babel/preset-env",
77 {
78 "targets": {
79 "node": "6.9.0"
80 },
81 "useBuiltIns": "usage"
82 }
83 ]
84 ]
85 },
86 "husky": {
87 "hooks": {
88 "pre-commit": "lint-staged"
89 }
90 },
91 "lint-staged": {
92 "*.js": [
93 "eslint --fix",
94 "git add"
95 ]
96 },
97 "commitlint": {
98 "extends": [
99 "@commitlint/config-conventional"
100 ]
101 }
102}