112 lines
3.4 KiB
JSON
112 lines
3.4 KiB
JSON
|
{
|
||
|
"name": "re-resizable",
|
||
|
"version": "6.9.6",
|
||
|
"description": "Resizable component for React.",
|
||
|
"title": "re-resizable",
|
||
|
"main": "./lib/index.es5.js",
|
||
|
"module": "./lib/index.js",
|
||
|
"jsnext:main": "./lib/index.js",
|
||
|
"keywords": [
|
||
|
"react",
|
||
|
"resize",
|
||
|
"resizable",
|
||
|
"component"
|
||
|
],
|
||
|
"scripts": {
|
||
|
"lint": "tslint -c tslint.json src/index.tsx",
|
||
|
"tsc": "tsc -p tsconfig.json",
|
||
|
"build:prod:main": "rollup -c scripts/prod.js",
|
||
|
"build:prod:es5": "rollup -c scripts/prod.es5.js",
|
||
|
"build": "npm-run-all --serial build:prod:* && tsc",
|
||
|
"start": "npm-run-all --parallel storybook",
|
||
|
"test": "cross-env NODE_ENV='test' tsc -p tsconfig.test.json && avaron lib/index.test.js --renderer",
|
||
|
"test:ci": "npm run flow && npm run build",
|
||
|
"prepublish": "npm run build",
|
||
|
"format": "prettier --write '**/*.{tsx,ts}'",
|
||
|
"format:ci": "prettier '**/*.{tsx,ts}'",
|
||
|
"storybook": "start-storybook -p 6066",
|
||
|
"build-storybook": "build-storybook",
|
||
|
"deploy": "npm run build-storybook && gh-pages -d storybook-static"
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/bokuweb/react-resizable-box.git"
|
||
|
},
|
||
|
"author": "bokuweb",
|
||
|
"license": "MIT",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/bokuweb/react-resizable-box/issues"
|
||
|
},
|
||
|
"homepage": "https://github.com/bokuweb/react-resizable-box",
|
||
|
"devDependencies": {
|
||
|
"@babel/cli": "7.11.6",
|
||
|
"@babel/core": "7.11.6",
|
||
|
"@babel/plugin-proposal-class-properties": "7.10.4",
|
||
|
"@babel/plugin-transform-modules-commonjs": "7.10.4",
|
||
|
"@babel/preset-react": "7.10.4",
|
||
|
"@babel/preset-typescript": "7.10.4",
|
||
|
"@babel/traverse": "7.11.5",
|
||
|
"@babel/types": "7.11.5",
|
||
|
"@emotion/core": "10.0.35",
|
||
|
"@storybook/addon-info": "5.3.21",
|
||
|
"@storybook/addon-options": "5.3.21",
|
||
|
"@storybook/react": "6.0.28",
|
||
|
"@types/node": "12.12.70",
|
||
|
"@types/react": "16.8.7",
|
||
|
"@types/react-dom": "16.9.9",
|
||
|
"@types/sinon": "9.0.10",
|
||
|
"avaron": "0.2.0",
|
||
|
"babel-core": "7.0.0-bridge.0",
|
||
|
"babel-eslint": "10.1.0",
|
||
|
"babel-loader": "8.1.0",
|
||
|
"babel-plugin-external-helpers": "6.22.0",
|
||
|
"babel-plugin-transform-class-properties": "6.24.1",
|
||
|
"babel-plugin-transform-object-assign": "6.22.0",
|
||
|
"babel-plugin-transform-object-rest-spread": "6.26.0",
|
||
|
"babel-polyfill": "6.26.0",
|
||
|
"babel-preset-env": "1.7.0",
|
||
|
"babel-preset-es2015": "6.24.1",
|
||
|
"babel-preset-flow": "6.23.0",
|
||
|
"babel-preset-react": "6.24.1",
|
||
|
"babel-register": "6.26.0",
|
||
|
"cross-env": "7.0.3",
|
||
|
"gh-pages": "3.1.0",
|
||
|
"npm-run-all": "4.1.5",
|
||
|
"prettier": "1.19.1",
|
||
|
"rollup": "1.32.1",
|
||
|
"rollup-plugin-babel": "4.4.0",
|
||
|
"rollup-plugin-commonjs": "10.1.0",
|
||
|
"rollup-plugin-node-globals": "1.4.0",
|
||
|
"rollup-plugin-node-resolve": "5.2.0",
|
||
|
"rollup-plugin-replace": "2.2.0",
|
||
|
"rollup-plugin-typescript2": "0.27.3",
|
||
|
"rollup-watch": "4.3.1",
|
||
|
"sinon": "9.0.3",
|
||
|
"tslint": "6.1.3",
|
||
|
"tslint-config-google": "1.0.1",
|
||
|
"tslint-config-prettier": "1.18.0",
|
||
|
"tslint-plugin-prettier": "2.3.0",
|
||
|
"typescript": "4.0.5"
|
||
|
},
|
||
|
"typings": "./lib/index.d.ts",
|
||
|
"types": "./lib/index.d.ts",
|
||
|
"files": [
|
||
|
"lib"
|
||
|
],
|
||
|
"avaron": {
|
||
|
"babel": "inherit",
|
||
|
"require": [
|
||
|
"babel-polyfill",
|
||
|
"babel-register"
|
||
|
],
|
||
|
"fixture": "./test/fixture.html"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"fast-memoize": "^2.5.1"
|
||
|
},
|
||
|
"peerDependencies": {
|
||
|
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
||
|
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0"
|
||
|
}
|
||
|
}
|