1
|
{
|
2
|
"name": "babel-loader",
|
3
|
"version": "7.1.5",
|
4
|
"description": "babel module loader for webpack",
|
5
|
"files": [
|
6
|
"lib"
|
7
|
],
|
8
|
"main": "lib/index.js",
|
9
|
"engines": {
|
10
|
"node": ">=4"
|
11
|
},
|
12
|
"dependencies": {
|
13
|
"find-cache-dir": "^1.0.0",
|
14
|
"loader-utils": "^1.0.2",
|
15
|
"mkdirp": "^0.5.1"
|
16
|
},
|
17
|
"peerDependencies": {
|
18
|
"babel-core": "6",
|
19
|
"webpack": "2 || 3 || 4"
|
20
|
},
|
21
|
"devDependencies": {
|
22
|
"ava": "^0.23.0",
|
23
|
"babel-cli": "^6.18.0",
|
24
|
"babel-core": "^6.0.0",
|
25
|
"babel-eslint": "^8.0.0",
|
26
|
"babel-plugin-istanbul": "^4.0.0",
|
27
|
"babel-plugin-react-intl": "^2.1.3",
|
28
|
"babel-preset-env": "^1.2.0",
|
29
|
"babel-register": "^6.18.0",
|
30
|
"cross-env": "^5.0.0",
|
31
|
"eslint": "^4.1.0",
|
32
|
"eslint-config-babel": "^7.0.0",
|
33
|
"eslint-plugin-flowtype": "^2.25.0",
|
34
|
"eslint-plugin-prettier": "^2.1.2",
|
35
|
"husky": "^0.14.0",
|
36
|
"lint-staged": "^4.0.0",
|
37
|
"nyc": "^11.0.1",
|
38
|
"prettier": "^1.2.2",
|
39
|
"react": "^16.0.0",
|
40
|
"react-intl": "^2.1.2",
|
41
|
"react-intl-webpack-plugin": "^0.0.3",
|
42
|
"rimraf": "^2.4.3",
|
43
|
"webpack": "^4.0.0"
|
44
|
},
|
45
|
"scripts": {
|
46
|
"clean": "rimraf lib/",
|
47
|
"build": "babel src/ --out-dir lib/",
|
48
|
"format": "prettier --write --trailing-comma all \"src/**/*.js\" \"test/**/*.test.js\" \"test/helpers/*.js\" && prettier --write --trailing-comma es5 \"scripts/*.js\"",
|
49
|
"lint": "eslint src test",
|
50
|
"precommit": "lint-staged",
|
51
|
"prepublish": "yarn run clean && yarn run build",
|
52
|
"preversion": "yarn run test",
|
53
|
"test": "yarn run lint && cross-env BABEL_ENV=test yarn run build && yarn run test-only",
|
54
|
"test-only": "nyc ava"
|
55
|
},
|
56
|
"repository": {
|
57
|
"type": "git",
|
58
|
"url": "https://github.com/babel/babel-loader.git"
|
59
|
},
|
60
|
"keywords": [
|
61
|
"webpack",
|
62
|
"loader",
|
63
|
"babel",
|
64
|
"es6",
|
65
|
"transpiler",
|
66
|
"module"
|
67
|
],
|
68
|
"author": "Luis Couto <hello@luiscouto.pt>",
|
69
|
"license": "MIT",
|
70
|
"bugs": {
|
71
|
"url": "https://github.com/babel/babel-loader/issues"
|
72
|
},
|
73
|
"homepage": "https://github.com/babel/babel-loader",
|
74
|
"nyc": {
|
75
|
"all": true,
|
76
|
"include": [
|
77
|
"src/**/*.js"
|
78
|
],
|
79
|
"reporter": [
|
80
|
"text",
|
81
|
"json"
|
82
|
],
|
83
|
"require": [
|
84
|
"babel-register"
|
85
|
],
|
86
|
"sourceMap": false,
|
87
|
"instrument": false
|
88
|
},
|
89
|
"ava": {
|
90
|
"files": [
|
91
|
"test/**/*.test.js",
|
92
|
"!test/fixtures/**/*",
|
93
|
"!test/helpers/**/*"
|
94
|
],
|
95
|
"source": [
|
96
|
"src/**/*.js"
|
97
|
],
|
98
|
"babel": "inherit"
|
99
|
},
|
100
|
"lint-staged": {
|
101
|
"scripts/*.js": [
|
102
|
"prettier --trailing-comma es5 --write",
|
103
|
"git add"
|
104
|
],
|
105
|
"src/**/*.js": [
|
106
|
"prettier --trailing-comma all --write",
|
107
|
"git add"
|
108
|
],
|
109
|
"test/**/*.test.js": [
|
110
|
"prettier --trailing-comma all --write",
|
111
|
"git add"
|
112
|
],
|
113
|
"test/helpers/*.js": [
|
114
|
"prettier --trailing-comma all --write",
|
115
|
"git add"
|
116
|
],
|
117
|
"package.json": [
|
118
|
"node ./scripts/yarn-install.js",
|
119
|
"git add yarn.lock"
|
120
|
]
|
121
|
}
|
122
|
}
|