Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ scrollspy.js
.DS_Store
.idea
dist/
lib/
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@
"name": "react-scrollspy",
"version": "3.0.0",
"description": "react scrollspy component",
"main": "./scrollspy.js",
"main": "./lib/scrollspy.js",
"files": [
"README.md",
"scrollspy.js",
"lib/scrollspy.js",
"lib/throttle.js",
"package.json",
"webpack.config.babel.js",
".eslintrc"
],
"scripts": {
"serve": "NODE_ENV=development webpack-dev-server --inline --hot --color",
"docs": "NODE_ENV=production webpack",
"build": "NODE_ENV=production ./node_modules/.bin/babel ./src/js/lib/Scrollspy.jsx --out-file ./scrollspy.js",
"build": "NODE_ENV=production ./node_modules/.bin/babel ./src/js/lib --out-dir ./lib",
"test": "NODE_ENV=test ./node_modules/.bin/ava __test__/*.js --verbose",
"prepublish": "yarn run build"
},
Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

rm -rf release && mkdir release;
yarn run build;
cp scrollspy.js README.md package.json webpack.config.babel.js .eslintrc ./release
cp lib README.md package.json webpack.config.babel.js .eslintrc ./release

rm -rf react-scrollspy.tar.gz
rm -rf react-scrollspy.zip
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -976,14 +976,14 @@ babel-types@^6.19.0, babel-types@^6.23.0, babel-types@^6.24.1:
lodash "^4.2.0"
to-fast-properties "^1.0.1"

babylon@^6.1.0, babylon@^6.11.0, babylon@^6.15.0:
version "6.16.1"
resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.16.1.tgz#30c5a22f481978a9e7f8cdfdf496b11d94b404d3"

babylon@^6.17.0:
babylon@^6.1.0, babylon@^6.15.0, babylon@^6.17.0:
version "6.17.0"
resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.17.0.tgz#37da948878488b9c4e3c4038893fa3314b3fc932"

babylon@^6.11.0:
version "6.16.1"
resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.16.1.tgz#30c5a22f481978a9e7f8cdfdf496b11d94b404d3"

balanced-match@^0.4.1, balanced-match@^0.4.2:
version "0.4.2"
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838"
Expand Down