1 | {
|
2 | "name": "babel-loader",
|
3 | "version": "8.2.2",
|
4 | "description": "babel module loader for webpack",
|
5 | "files": [
|
6 | "lib"
|
7 | ],
|
8 | "main": "lib/index.js",
|
9 | "engines": {
|
10 | "node": ">= 8.9"
|
11 | },
|
12 | "dependencies": {
|
13 | "find-cache-dir": "^3.3.1",
|
14 | "loader-utils": "^1.4.0",
|
15 | "make-dir": "^3.1.0",
|
16 | "schema-utils": "^2.6.5"
|
17 | },
|
18 | "peerDependencies": {
|
19 | "@babel/core": "^7.0.0",
|
20 | "webpack": ">=2"
|
21 | },
|
22 | "devDependencies": {
|
23 | "@ava/babel": "^1.0.1",
|
24 | "@babel/cli": "^7.12.1",
|
25 | "@babel/core": "^7.12.3",
|
26 | "@babel/preset-env": "^7.12.1",
|
27 | "ava": "^3.13.0",
|
28 | "babel-eslint": "^10.0.1",
|
29 | "babel-plugin-istanbul": "^6.0.0",
|
30 | "babel-plugin-react-intl": "^8.2.15",
|
31 | "cross-env": "^7.0.2",
|
32 | "eslint": "^7.13.0",
|
33 | "eslint-config-babel": "^9.0.0",
|
34 | "eslint-config-prettier": "^6.3.0",
|
35 | "eslint-plugin-flowtype": "^5.2.0",
|
36 | "eslint-plugin-prettier": "^3.0.0",
|
37 | "husky": "^4.3.0",
|
38 | "lint-staged": "^10.5.1",
|
39 | "nyc": "^15.1.0",
|
40 | "pnp-webpack-plugin": "^1.6.4",
|
41 | "prettier": "^2.1.2",
|
42 | "react": "^17.0.1",
|
43 | "react-intl": "^5.9.4",
|
44 | "react-intl-webpack-plugin": "^0.3.0",
|
45 | "rimraf": "^3.0.0",
|
46 | "semver": "7.3.2",
|
47 | "webpack": "^5.4.0"
|
48 | },
|
49 | "scripts": {
|
50 | "clean": "rimraf lib/",
|
51 | "build": "babel src/ --out-dir lib/ --copy-files",
|
52 | "format": "prettier --write --trailing-comma all 'src/**/*.js' 'test/**/*.test.js' 'test/helpers/*.js' && prettier --write --trailing-comma es5 'scripts/*.js'",
|
53 | "lint": "eslint src test",
|
54 | "precommit": "lint-staged",
|
55 | "prepublish": "yarn run clean && yarn run build",
|
56 | "preversion": "yarn run test",
|
57 | "test": "yarn run lint && cross-env BABEL_ENV=test yarn run build && yarn run test-only",
|
58 | "test-only": "nyc ava"
|
59 | },
|
60 | "repository": {
|
61 | "type": "git",
|
62 | "url": "https://github.com/babel/babel-loader.git"
|
63 | },
|
64 | "keywords": [
|
65 | "webpack",
|
66 | "loader",
|
67 | "babel",
|
68 | "es6",
|
69 | "transpiler",
|
70 | "module"
|
71 | ],
|
72 | "author": "Luis Couto <hello@luiscouto.pt>",
|
73 | "license": "MIT",
|
74 | "bugs": {
|
75 | "url": "https://github.com/babel/babel-loader/issues"
|
76 | },
|
77 | "homepage": "https://github.com/babel/babel-loader",
|
78 | "nyc": {
|
79 | "all": true,
|
80 | "include": [
|
81 | "src/**/*.js"
|
82 | ],
|
83 | "reporter": [
|
84 | "text",
|
85 | "json"
|
86 | ],
|
87 | "sourceMap": false,
|
88 | "instrument": false
|
89 | },
|
90 | "ava": {
|
91 | "files": [
|
92 | "test/**/*.test.js",
|
93 | "!test/fixtures/**/*",
|
94 | "!test/helpers/**/*"
|
95 | ],
|
96 | "babel": {
|
97 | "compileAsTests": [
|
98 | "test/helpers/**/*"
|
99 | ]
|
100 | }
|
101 | },
|
102 | "lint-staged": {
|
103 | "scripts/*.js": [
|
104 | "prettier --trailing-comma es5 --write",
|
105 | "git add"
|
106 | ],
|
107 | "src/**/*.js": [
|
108 | "prettier --trailing-comma all --write",
|
109 | "git add"
|
110 | ],
|
111 | "test/**/*.test.js": [
|
112 | "prettier --trailing-comma all --write",
|
113 | "git add"
|
114 | ],
|
115 | "test/helpers/*.js": [
|
116 | "prettier --trailing-comma all --write",
|
117 | "git add"
|
118 | ],
|
119 | "package.json": [
|
120 | "node ./scripts/yarn-install.js",
|
121 | "git add yarn.lock"
|
122 | ]
|
123 | }
|
124 | } |
\ | No newline at end of file |