UNPKG

2.84 kBJSONView Raw
1{
2 "name": "raw-loader",
3 "version": "2.0.0",
4 "description": "A loader for webpack that allows importing files as a String",
5 "license": "MIT",
6 "repository": "webpack-contrib/raw-loader",
7 "author": "Tobias Koppers @sokra",
8 "homepage": "https://github.com/webpack-contrib/raw-loader",
9 "bugs": "https://github.com/webpack-contrib/raw-loader/issues",
10 "main": "dist/cjs.js",
11 "engines": {
12 "node": ">= 6.9.0"
13 },
14 "scripts": {
15 "start": "npm run build -- -w",
16 "prebuild": "npm run clean",
17 "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
18 "clean": "del-cli dist",
19 "commitlint": "commitlint --from=master",
20 "lint": "eslint --cache src test",
21 "prepublish": "npm run build",
22 "release": "standard-version",
23 "security": "npm audit",
24 "test:only": "jest",
25 "test:watch": "jest --watch",
26 "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
27 "pretest": "npm run lint",
28 "test": "npm run test:only",
29 "ci:lint": "npm run lint && npm run security",
30 "ci:test": "npm run test:only -- --runInBand",
31 "ci:coverage": "npm run test:coverage -- --runInBand",
32 "ci:lint:commits": "commitlint --from=origin/master --to=${CIRCLE_SHA1}",
33 "defaults": "webpack-defaults"
34 },
35 "files": [
36 "dist/"
37 ],
38 "peerDependencies": {
39 "webpack": "^4.3.0"
40 },
41 "dependencies": {
42 "loader-utils": "^1.1.0",
43 "schema-utils": "^1.0.0"
44 },
45 "devDependencies": {
46 "@babel/cli": "^7.1.5",
47 "@babel/core": "^7.1.6",
48 "@babel/polyfill": "^7.0.0",
49 "@babel/preset-env": "^7.1.6",
50 "@commitlint/cli": "^7.1.6",
51 "@commitlint/config-conventional": "^7.1.2",
52 "@webpack-contrib/defaults": "^3.1.0",
53 "@webpack-contrib/eslint-config-webpack": "^3.0.0",
54 "babel-jest": "^24.5.0",
55 "cross-env": "^5.2.0",
56 "del": "^4.0.0",
57 "del-cli": "^1.1.0",
58 "eslint": "^5.10.0",
59 "eslint-plugin-import": "^2.14.0",
60 "eslint-plugin-prettier": "^3.0.0",
61 "husky": "^1.2.0",
62 "jest": "^24.5.0",
63 "lint-staged": "^8.1.0",
64 "memory-fs": "^0.4.1",
65 "prettier": "^1.11.1",
66 "standard-version": "^5.0.2",
67 "webpack": "^4.3.0"
68 },
69 "keywords": [
70 "webpack"
71 ],
72 "babel": {
73 "presets": [
74 [
75 "@babel/preset-env",
76 {
77 "targets": {
78 "node": "6.9.0"
79 },
80 "useBuiltIns": "usage"
81 }
82 ]
83 ]
84 },
85 "husky": {
86 "hooks": {
87 "pre-commit": "lint-staged",
88 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
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 "prettier": {
103 "singleQuote": true,
104 "trailingComma": "es5",
105 "arrowParens": "always"
106 }
107}