Add NPM and CommonJS compatibility.
This commit is contained in:
parent
db2b282431
commit
68d468c465
@ -9,7 +9,7 @@
|
||||
"email": "me@noraesae.net"
|
||||
}
|
||||
],
|
||||
"main": "out/js/perfect-scrollbar.js",
|
||||
"main": "src/js/main.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/noraesae/perfect-scrollbar"
|
||||
|
6
src/js/main.js
Normal file
6
src/js/main.js
Normal file
@ -0,0 +1,6 @@
|
||||
/* Copyright (c) 2015 Hyunje Alex Jun and other contributors
|
||||
* Licensed under the MIT License
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
module.exports = require('./plugin/ps');
|
Loading…
Reference in New Issue
Block a user