1 | {
|
---|
2 | "name": "babel-loader",
|
---|
3 | "version": "9.2.1",
|
---|
4 | "description": "babel module loader for webpack",
|
---|
5 | "files": [
|
---|
6 | "lib"
|
---|
7 | ],
|
---|
8 | "main": "lib/index.js",
|
---|
9 | "engines": {
|
---|
10 | "node": ">= 14.15.0"
|
---|
11 | },
|
---|
12 | "dependencies": {
|
---|
13 | "find-cache-dir": "^4.0.0",
|
---|
14 | "schema-utils": "^4.0.0"
|
---|
15 | },
|
---|
16 | "peerDependencies": {
|
---|
17 | "@babel/core": "^7.12.0",
|
---|
18 | "webpack": ">=5"
|
---|
19 | },
|
---|
20 | "devDependencies": {
|
---|
21 | "@ava/babel": "^1.0.1",
|
---|
22 | "@babel/cli": "^7.23.0",
|
---|
23 | "@babel/core": "^7.23.3",
|
---|
24 | "@babel/eslint-parser": "^7.23.3",
|
---|
25 | "@babel/preset-env": "^7.23.3",
|
---|
26 | "ava": "^3.13.0",
|
---|
27 | "c8": "^8.0.0",
|
---|
28 | "eslint": "^9.6.0",
|
---|
29 | "eslint-config-prettier": "^9.1.0",
|
---|
30 | "eslint-plugin-prettier": "^5.1.3",
|
---|
31 | "globals": "^15.8.0",
|
---|
32 | "husky": "^8.0.3",
|
---|
33 | "lint-staged": "^13.2.3",
|
---|
34 | "prettier": "^3.0.0",
|
---|
35 | "webpack": "^5.89.0"
|
---|
36 | },
|
---|
37 | "scripts": {
|
---|
38 | "clean": "node ./scripts/rimraf.mjs lib",
|
---|
39 | "build": "babel src/ --out-dir lib/ --copy-files",
|
---|
40 | "format": "prettier --write --trailing-comma all 'src/**/*.js' 'test/**/*.test.js' 'test/helpers/*.js' && prettier --write --trailing-comma es5 'scripts/*.js'",
|
---|
41 | "lint": "eslint src test",
|
---|
42 | "precommit": "lint-staged",
|
---|
43 | "prepublish": "yarn run clean && yarn run build",
|
---|
44 | "preversion": "yarn run test",
|
---|
45 | "test": "yarn run lint && yarn run build --source-maps && c8 yarn run test-only",
|
---|
46 | "test-only": "ava"
|
---|
47 | },
|
---|
48 | "resolutions": {
|
---|
49 | "minipass": "6.0.2"
|
---|
50 | },
|
---|
51 | "repository": {
|
---|
52 | "type": "git",
|
---|
53 | "url": "https://github.com/babel/babel-loader.git"
|
---|
54 | },
|
---|
55 | "keywords": [
|
---|
56 | "webpack",
|
---|
57 | "loader",
|
---|
58 | "babel",
|
---|
59 | "es6",
|
---|
60 | "transpiler",
|
---|
61 | "module"
|
---|
62 | ],
|
---|
63 | "author": "Luis Couto <hello@luiscouto.pt>",
|
---|
64 | "license": "MIT",
|
---|
65 | "bugs": {
|
---|
66 | "url": "https://github.com/babel/babel-loader/issues"
|
---|
67 | },
|
---|
68 | "homepage": "https://github.com/babel/babel-loader",
|
---|
69 | "nyc": {
|
---|
70 | "all": true,
|
---|
71 | "include": [
|
---|
72 | "src/**/*.js"
|
---|
73 | ],
|
---|
74 | "reporter": [
|
---|
75 | "text",
|
---|
76 | "json"
|
---|
77 | ],
|
---|
78 | "sourceMap": false,
|
---|
79 | "instrument": false
|
---|
80 | },
|
---|
81 | "ava": {
|
---|
82 | "files": [
|
---|
83 | "test/**/*.test.js",
|
---|
84 | "!test/fixtures/**/*",
|
---|
85 | "!test/helpers/**/*"
|
---|
86 | ],
|
---|
87 | "babel": {
|
---|
88 | "compileAsTests": [
|
---|
89 | "test/helpers/**/*"
|
---|
90 | ]
|
---|
91 | }
|
---|
92 | },
|
---|
93 | "lint-staged": {
|
---|
94 | "scripts/*.js": [
|
---|
95 | "prettier --trailing-comma es5 --write",
|
---|
96 | "git add"
|
---|
97 | ],
|
---|
98 | "src/**/*.js": [
|
---|
99 | "prettier --trailing-comma all --write",
|
---|
100 | "git add"
|
---|
101 | ],
|
---|
102 | "test/**/*.test.js": [
|
---|
103 | "prettier --trailing-comma all --write",
|
---|
104 | "git add"
|
---|
105 | ],
|
---|
106 | "test/helpers/*.js": [
|
---|
107 | "prettier --trailing-comma all --write",
|
---|
108 | "git add"
|
---|
109 | ],
|
---|
110 | "package.json": [
|
---|
111 | "node ./scripts/yarn-install.js",
|
---|
112 | "git add yarn.lock"
|
---|
113 | ]
|
---|
114 | },
|
---|
115 | "packageManager": "yarn@3.6.4"
|
---|
116 | } |
---|