1 | {
|
---|
2 | "name": "@babel/preset-modules",
|
---|
3 | "version": "0.1.4",
|
---|
4 | "description": "A Babel preset that targets modern browsers by fixing engine bugs.",
|
---|
5 | "main": "lib/index.js",
|
---|
6 | "license": "MIT",
|
---|
7 | "scripts": {
|
---|
8 | "start": "concurrently -r 'npm:watch:* -s'",
|
---|
9 | "build": "babel src -d lib --ignore '**/*.test.js'",
|
---|
10 | "test": "eslint src test && jest --colors",
|
---|
11 | "test:browser": "cd test/browser && karmatic --no-coverage --browsers chrome:headless,sauce-chrome-61,sauce-firefox-60,sauce-safari-10,sauce-safari-11,sauce-edge-16,sauce-edge-17 '**/*.js'",
|
---|
12 | "test:local": "cd test/browser && karmatic --no-coverage '**/*.js'",
|
---|
13 | "test:safari": "npm run test:local -- --browsers sauce-safari-10",
|
---|
14 | "test:edge": "npm run test:local -- --browsers sauce-edge-16",
|
---|
15 | "watch:test": "jest --watch",
|
---|
16 | "watch:build": "npm run -s build -- -w"
|
---|
17 | },
|
---|
18 | "keywords": [
|
---|
19 | "babel",
|
---|
20 | "preset",
|
---|
21 | "preset-env",
|
---|
22 | "modern",
|
---|
23 | "modules",
|
---|
24 | "ES Modules",
|
---|
25 | "module/nomodule"
|
---|
26 | ],
|
---|
27 | "files": [
|
---|
28 | "src",
|
---|
29 | "lib"
|
---|
30 | ],
|
---|
31 | "lint-staged": {
|
---|
32 | "*.js": [
|
---|
33 | "eslint --format=codeframe"
|
---|
34 | ]
|
---|
35 | },
|
---|
36 | "husky": {
|
---|
37 | "hooks": {
|
---|
38 | "pre-commit": "lint-staged"
|
---|
39 | }
|
---|
40 | },
|
---|
41 | "jest": {
|
---|
42 | "testEnvironment": "node",
|
---|
43 | "roots": [
|
---|
44 | "src",
|
---|
45 | "test"
|
---|
46 | ]
|
---|
47 | },
|
---|
48 | "eslintConfig": {
|
---|
49 | "extends": "developit",
|
---|
50 | "rules": {
|
---|
51 | "no-console": 0,
|
---|
52 | "new-cap": 0
|
---|
53 | }
|
---|
54 | },
|
---|
55 | "eslintIgnore": [
|
---|
56 | "test/fixtures/**/*",
|
---|
57 | "test/integration/**/*"
|
---|
58 | ],
|
---|
59 | "authors": [
|
---|
60 | "Jason Miller <jason@developit.ca>"
|
---|
61 | ],
|
---|
62 | "peerDependencies": {
|
---|
63 | "@babel/core": "^7.0.0-0"
|
---|
64 | },
|
---|
65 | "devDependencies": {
|
---|
66 | "@babel/cli": "^7.7.0",
|
---|
67 | "@babel/core": "^7.7.2",
|
---|
68 | "@babel/helper-fixtures": "^7.6.3",
|
---|
69 | "@babel/helper-plugin-test-runner": "^7.1.0",
|
---|
70 | "@babel/plugin-transform-modules-commonjs": "^7.5.0",
|
---|
71 | "@babel/plugin-transform-react-jsx": "^7.7.0",
|
---|
72 | "@babel/preset-env": "^7.9.6",
|
---|
73 | "acorn-jsx": "^5.0.1",
|
---|
74 | "babel-eslint": "^10.0.3",
|
---|
75 | "babel-plugin-add-module-exports": "^1.0.2",
|
---|
76 | "chalk": "^2.4.2",
|
---|
77 | "concurrently": "^4.1.0",
|
---|
78 | "eslint": "^6.6.0",
|
---|
79 | "eslint-config-babel": "^9.0.0",
|
---|
80 | "eslint-plugin-flowtype": "3",
|
---|
81 | "eslint-plugin-import": "^2.18.2",
|
---|
82 | "eslint-plugin-prettier": "^3.1.1",
|
---|
83 | "gzip-size": "^5.1.1",
|
---|
84 | "if-env": "^1.0.4",
|
---|
85 | "jest": "^24.8.0",
|
---|
86 | "karmatic": "^1.4.0",
|
---|
87 | "prettier": "^1.19.1",
|
---|
88 | "pretty-bytes": "^5.2.0",
|
---|
89 | "rollup": "^1.16.3",
|
---|
90 | "rollup-plugin-babel": "^4.3.3",
|
---|
91 | "rollup-plugin-node-resolve": "^5.2.0",
|
---|
92 | "terser": "^4.0.2",
|
---|
93 | "webpack": "^4.35.0"
|
---|
94 | },
|
---|
95 | "dependencies": {
|
---|
96 | "@babel/helper-plugin-utils": "^7.0.0",
|
---|
97 | "@babel/plugin-proposal-unicode-property-regex": "^7.4.4",
|
---|
98 | "@babel/plugin-transform-dotall-regex": "^7.4.4",
|
---|
99 | "@babel/types": "^7.4.4",
|
---|
100 | "esutils": "^2.0.2"
|
---|
101 | }
|
---|
102 | }
|
---|