UNPKG

3.8 kBJSONView Raw
1{
2 "name": "babel-preset-env",
3 "version": "1.3.1",
4 "description": "A Babel preset for each environment.",
5 "author": "Henry Zhu <hi@henryzoo.com>",
6 "homepage": "https://babeljs.io/",
7 "license": "MIT",
8 "repository": "https://github.com/babel/babel-preset-env",
9 "main": "lib/index.js",
10 "scripts": {
11 "build": "rimraf lib && babel src -d lib",
12 "build-data": "node ./scripts/build-data.js",
13 "changelog": "git log `git describe --tags --abbrev=0`..HEAD --pretty=format:' * %s (%an)' | grep -v 'Merge pull request'",
14 "coverage": "BABEL_ENV=test nyc npm run test",
15 "coverage-ci": "nyc report --reporter=json && codecov -f coverage/coverage-final.json",
16 "dev": "babel -w src -d lib",
17 "fix": "eslint . --fix",
18 "lint": "eslint .",
19 "test": "npm run build && npm run test-only",
20 "test-ci": "nyc npm run test",
21 "test-only": "mocha ./test --compilers js:babel-register -t 10000"
22 },
23 "dependencies": {
24 "babel-plugin-check-es2015-constants": "^6.22.0",
25 "babel-plugin-syntax-trailing-function-commas": "^6.22.0",
26 "babel-plugin-transform-async-to-generator": "^6.22.0",
27 "babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
28 "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0",
29 "babel-plugin-transform-es2015-block-scoping": "^6.23.0",
30 "babel-plugin-transform-es2015-classes": "^6.23.0",
31 "babel-plugin-transform-es2015-computed-properties": "^6.22.0",
32 "babel-plugin-transform-es2015-destructuring": "^6.23.0",
33 "babel-plugin-transform-es2015-duplicate-keys": "^6.22.0",
34 "babel-plugin-transform-es2015-for-of": "^6.23.0",
35 "babel-plugin-transform-es2015-function-name": "^6.22.0",
36 "babel-plugin-transform-es2015-literals": "^6.22.0",
37 "babel-plugin-transform-es2015-modules-amd": "^6.22.0",
38 "babel-plugin-transform-es2015-modules-commonjs": "^6.23.0",
39 "babel-plugin-transform-es2015-modules-systemjs": "^6.23.0",
40 "babel-plugin-transform-es2015-modules-umd": "^6.23.0",
41 "babel-plugin-transform-es2015-object-super": "^6.22.0",
42 "babel-plugin-transform-es2015-parameters": "^6.23.0",
43 "babel-plugin-transform-es2015-shorthand-properties": "^6.22.0",
44 "babel-plugin-transform-es2015-spread": "^6.22.0",
45 "babel-plugin-transform-es2015-sticky-regex": "^6.22.0",
46 "babel-plugin-transform-es2015-template-literals": "^6.22.0",
47 "babel-plugin-transform-es2015-typeof-symbol": "^6.23.0",
48 "babel-plugin-transform-es2015-unicode-regex": "^6.22.0",
49 "babel-plugin-transform-exponentiation-operator": "^6.22.0",
50 "babel-plugin-transform-regenerator": "^6.22.0",
51 "browserslist": "^1.4.0",
52 "invariant": "^2.2.2"
53 },
54 "devDependencies": {
55 "babel-cli": "^6.23.0",
56 "babel-eslint": "^7.1.1",
57 "babel-helper-fixtures": "^6.22.0",
58 "babel-helper-plugin-test-runner": "^6.22.0",
59 "babel-plugin-istanbul": "^3.1.2",
60 "babel-plugin-transform-flow-strip-types": "^6.22.0",
61 "babel-preset-es2015": "^6.22.0",
62 "babel-register": "^6.23.0",
63 "chai": "^3.5.0",
64 "codecov": "^1.0.1",
65 "compat-table": "kangax/compat-table#c38f039b8ea7fadf347d3e300fec3611645e31e9",
66 "eslint": "^3.17.1",
67 "eslint-config-babel": "^6.0.0",
68 "eslint-plugin-flowtype": "^2.29.1",
69 "fs-extra": "^2.0.0",
70 "lodash": "^4.17.4",
71 "mocha": "^3.2.0",
72 "nyc": "^10.1.2",
73 "electron-to-chromium": "^1.3.2",
74 "rimraf": "^2.6.1"
75 },
76 "babel": {
77 "presets": [
78 [
79 "es2015",
80 {
81 "loose": true
82 }
83 ]
84 ],
85 "plugins": [
86 "transform-flow-strip-types"
87 ],
88 "env": {
89 "test": {
90 "plugins": [
91 "istanbul"
92 ]
93 }
94 }
95 },
96 "nyc": {
97 "all": true,
98 "include": [
99 "src/*.js"
100 ],
101 "instrument": false,
102 "sourceMap": false
103 }
104}