UNPKG

1.95 kBJSONView Raw
1{
2 "name": "babel-plugin-react-require",
3 "version": "3.1.0",
4 "description": "Babel plugin that adds React import declaration if file contains JSX tags.",
5 "keywords": [
6 "babel",
7 "babel-plugin",
8 "react",
9 "jsx"
10 ],
11 "homepage": "https://github.com/vslinko/babel-plugin-react-require",
12 "bugs": {
13 "url": "https://github.com/vslinko/babel-plugin-react-require/issues",
14 "email": "vslinko@yahoo.com"
15 },
16 "license": "MIT",
17 "author": {
18 "name": "Vyacheslav Slinko",
19 "email": "vslinko@yahoo.com",
20 "url": "https://twitter.com/vslinko"
21 },
22 "main": "lib",
23 "repository": {
24 "type": "git",
25 "url": "vslinko/babel-plugin-react-require"
26 },
27 "scripts": {
28 "clean": "rimraf lib",
29 "build": "babel src -d lib",
30 "build-examples": "babel examples -d built-examples",
31 "lint": "eslint --ext js,jsx src test",
32 "prepare": "npm run clean && npm run build && npm run build-examples",
33 "test": "mocha --require @babel/register",
34 "test-coverage": "npm run build && istanbul instrument --output lib-cov lib && COVERAGE=1 mocha --reporter mocha-istanbul"
35 },
36 "devDependencies": {
37 "@babel/cli": "^7.2.3",
38 "@babel/core": "^7.2.2",
39 "@babel/plugin-syntax-jsx": "^7.2.0",
40 "@babel/plugin-transform-block-scoping": "^7.2.0",
41 "@babel/plugin-transform-classes": "^7.2.2",
42 "@babel/plugin-transform-destructuring": "^7.2.0",
43 "@babel/plugin-transform-modules-commonjs": "^7.2.0",
44 "@babel/plugin-transform-parameters": "^7.2.0",
45 "@babel/plugin-transform-shorthand-properties": "^7.2.0",
46 "@babel/register": "^7.0.0",
47 "babel-eslint": "^10.0.1",
48 "chai": "^4.2.0",
49 "eslint": "^5.12.1",
50 "eslint-config-airbnb": "^17.1.0",
51 "eslint-plugin-import": "^2.15.0",
52 "eslint-plugin-jsx-a11y": "^6.2.0",
53 "eslint-plugin-react": "^7.12.4",
54 "istanbul": "^0.4.5",
55 "mocha": "^5.2.0",
56 "mocha-istanbul": "^0.3.0",
57 "rimraf": "^2.5.4"
58 }
59}