ink-select-input
Advanced tools
Comparing version 2.0.0 to 3.0.0
{ | ||
"name": "ink-select-input", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "Select input component for Ink", | ||
@@ -12,5 +12,5 @@ "license": "MIT", | ||
}, | ||
"main": "dist/index.js", | ||
"main": "build/index.js", | ||
"engines": { | ||
"node": ">=6" | ||
"node": ">=8" | ||
}, | ||
@@ -20,7 +20,7 @@ "scripts": { | ||
"test": "xo && ava", | ||
"build": "babel src --out-dir=dist", | ||
"prepublish": "npm run build" | ||
"build": "babel src --out-dir=build", | ||
"prepare": "npm run build" | ||
}, | ||
"files": [ | ||
"dist" | ||
"build" | ||
], | ||
@@ -38,46 +38,26 @@ "keywords": [ | ||
"devDependencies": { | ||
"ava": "^0.25.0", | ||
"babel-cli": "^6.24.1", | ||
"babel-plugin-transform-object-rest-spread": "^6.23.0", | ||
"babel-plugin-transform-react-jsx": "^6.24.1", | ||
"@babel/cli": "^7.2.3", | ||
"@babel/core": "^7.3.3", | ||
"@babel/plugin-proposal-class-properties": "^7.3.3", | ||
"@babel/preset-react": "^7.0.0", | ||
"ava": "*", | ||
"babel-eslint": "^10.0.1", | ||
"eslint-config-xo-react": "^0.16.0", | ||
"eslint-plugin-react": "^7.1.0", | ||
"ink": "^0.5.0", | ||
"ink": "^2.0.0", | ||
"react": "^16.8.2", | ||
"sinon": "^4.4.9", | ||
"xo": "^0.20.3" | ||
"xo": "*" | ||
}, | ||
"babel": { | ||
"plugins": [ | ||
[ | ||
"transform-react-jsx", | ||
{ | ||
"pragma": "h", | ||
"useBuiltIns": true | ||
} | ||
], | ||
[ | ||
"transform-object-rest-spread", | ||
{ | ||
"useBuiltIns": true | ||
} | ||
] | ||
"@babel/plugin-proposal-class-properties" | ||
], | ||
"presets": [ | ||
"@ava/stage-4", | ||
"@babel/preset-react" | ||
] | ||
}, | ||
"ava": { | ||
"babel": { | ||
"presets": [ | ||
"@ava/stage-4" | ||
], | ||
"plugins": [ | ||
[ | ||
"transform-react-jsx", | ||
{ | ||
"pragma": "h", | ||
"useBuiltIns": true | ||
} | ||
] | ||
] | ||
} | ||
}, | ||
"xo": { | ||
"parser": "babel-eslint", | ||
"extends": [ | ||
@@ -88,10 +68,6 @@ "xo-react" | ||
"react/no-unused-prop-types": 1, | ||
"react/no-deprecated": 1 | ||
}, | ||
"settings": { | ||
"react": { | ||
"pragma": "h" | ||
} | ||
"unicorn/no-hex-escape": 0, | ||
"unicorn/filename-case": 0 | ||
} | ||
} | ||
} |
@@ -16,4 +16,5 @@ # ink-select-input [![Build Status](https://travis-ci.org/vadimdemedes/ink-select-input.svg?branch=master)](https://travis-ci.org/vadimdemedes/ink-select-input) | ||
```jsx | ||
const {h, render, Component} = require('ink'); | ||
const SelectInput = require('ink-select-input'); | ||
import React from 'react'; | ||
import {render} from 'ink'; | ||
import SelectInput from 'ink-select-input'; | ||
@@ -20,0 +21,0 @@ const Demo = () => { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12226
7
227
89
12
1