Skip to content

Commit 380fa0a

Browse files
committed
merge script entries, remove pre-minified file
minified version will be generated by people’s build process anyways
1 parent 93b2ce0 commit 380fa0a

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

SmoothScroll.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "Smooth scrolling experience for websites. This is the standalone version of SmoothScroll for individual websites and themes. Mouse wheel, keyboard and touchpad scrolling all supported.",
55
"main": "SmoothScroll.js",
66
"scripts": {
7-
"test": "echo \"No test specified\" && exit 1"
7+
"test": "echo \"No test specified\" && exit 1",
8+
"minify": "uglifyjs SmoothScroll.js --compress --mangle --output SmoothScroll.min.js"
89
},
910
"repository": {
1011
"type": "git",
@@ -28,8 +29,5 @@
2829
"homepage": "https://github.com/galambalazs/smoothscroll-for-websites",
2930
"devDependencies": {
3031
"uglify-js": "^2.6.1"
31-
},
32-
"scripts": {
33-
"minify": "uglifyjs SmoothScroll.js --compress --mangle --output SmoothScroll.min.js"
3432
}
3533
}

0 commit comments

Comments
 (0)