This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Federico Zivolo
committed
Mar 30, 2018
1 parent
46684af
commit 831f986
Showing
4 changed files
with
564 additions
and
724 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"presets": [["env", { "modules": false }], "stage-2", "react"], | ||
"plugins": ["transform-class-properties"] | ||
"presets": [["env", { "modules": false }], "stage-2", "react"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,28 +3,25 @@ | |
"version": "0.9.0", | ||
"description": "React wrapper around PopperJS.", | ||
"license": "MIT", | ||
"author": | ||
"Travis Arnold <[email protected]> (http://souporserious.com)", | ||
"author": "Travis Arnold <[email protected]> (http://souporserious.com)", | ||
"homepage": "https://github.com/souporserious/react-popper", | ||
"main": "dist/react-popper.js", | ||
"umd:main": "dist/react-popper.umd.js", | ||
"module": "lib/react-popper.js", | ||
"types": "react-popper.d.ts", | ||
"files": ["dist", "lib", "react-popper.d.ts"], | ||
"files": [ | ||
"dist", | ||
"lib", | ||
"react-popper.d.ts" | ||
], | ||
"scripts": { | ||
"build": | ||
"npm run build:clean && npm run build:es && npm run build:umd && npm run build:cjs && npm run build:umd-min && npm run build:cjs-min", | ||
"build": "npm run build:clean && npm run build:es && npm run build:umd && npm run build:cjs && npm run build:umd-min && npm run build:cjs-min", | ||
"build:clean": "rm -rf dist/ && rm -rf lib/", | ||
"build:es": | ||
"babel src --out-dir lib && mv lib/index.js lib/react-popper.js", | ||
"build:umd": | ||
"rollup -c --output.format umd --output.name 'react-popper' --output.file dist/react-popper.umd.js", | ||
"build:cjs": | ||
"rollup -c --output.format cjs --output.name 'react-popper' --output.file dist/react-popper.js", | ||
"build:umd-min": | ||
"MINIFY=true rollup -c --output.format umd --output.name 'react-popper' --output.file dist/react-popper.umd.min.js", | ||
"build:cjs-min": | ||
"MINIFY=true rollup -c --output.format cjs --output.name 'react-popper' --output.file dist/react-popper.min.js", | ||
"build:es": "babel src --out-dir lib && mv lib/index.js lib/react-popper.js", | ||
"build:umd": "rollup -c --output.format umd --output.name 'react-popper' --output.file dist/react-popper.umd.js", | ||
"build:cjs": "rollup -c --output.format cjs --output.name 'react-popper' --output.file dist/react-popper.js", | ||
"build:umd-min": "MINIFY=true rollup -c --output.format umd --output.name 'react-popper' --output.file dist/react-popper.umd.min.js", | ||
"build:cjs-min": "MINIFY=true rollup -c --output.format cjs --output.name 'react-popper' --output.file dist/react-popper.min.js", | ||
"demo": "parcel --out-dir demo/dist demo/index.html", | ||
"prepare": "npm run build", | ||
"precommit": "lint-staged", | ||
|
@@ -48,7 +45,10 @@ | |
"popover" | ||
], | ||
"lint-staged": { | ||
"@(src|demo)/**/*.{js,jsx}": ["eslint --fix --max-warnings 5", "git add"] | ||
"@(src|demo)/**/*.{js,jsx}": [ | ||
"eslint --fix --max-warnings 5", | ||
"git add" | ||
] | ||
}, | ||
"peerDependencies": { | ||
"react": "0.14.x || ^15.0.0 || ^16.0.0", | ||
|
@@ -62,7 +62,6 @@ | |
"babel-cli": "^6.26.0", | ||
"babel-core": "^6.26.0", | ||
"babel-plugin-external-helpers": "^6.22.0", | ||
"babel-plugin-transform-class-properties": "^6.24.1", | ||
"babel-plugin-transform-react-remove-prop-types": "^0.4.13", | ||
"babel-preset-env": "^1.6.1", | ||
"babel-preset-react": "^6.24.1", | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.