Skip to content
This repository was archived by the owner on Dec 30, 2018. It is now read-only.

Commit 3da4a25

Browse files
author
Mickael Valmier
committed
feat(package): Change entrypoint and add requires/exports for commonJS (like browserify) usage
1 parent 19aca3b commit 3da4a25

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require('./angular-masonry');
2+
module.exports = 'wu.masonry';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-masonry",
33
"version": "0.16.0",
4-
"main": "angular-masonry.js",
4+
"main": "index.js",
55
"devDependencies": {
66
"grunt": "^0.4.1",
77
"grunt-cli": "^0.1.13",

0 commit comments

Comments
 (0)