Skip to content

Commit c5dbc91

Browse files
committed
Modify package.json for npm and import
1 parent 2221431 commit c5dbc91

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

package.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@
22
"name": "vue-infinite-loading",
33
"version": "0.0.0",
44
"description": "vue-infinite-loading project",
5+
"main": "dist/vue-infinite-loading.js",
56
"scripts": {
67
"dev": "webpack-dev-server --inline --hot --quiet --port=8000",
78
"build": "rm -rf build/ && NODE_ENV=production webpack --progress --hide-modules"
89
},
9-
"dependencies": {
10-
"vue": "^1.0.21"
11-
},
10+
"keywords": [
11+
"vue",
12+
"vue components",
13+
"infinite loading",
14+
"infinite scroll",
15+
"vue infinite"
16+
],
1217
"devDependencies": {
1318
"babel-core": "^6.7.7",
1419
"babel-loader": "^6.2.4",
@@ -35,6 +40,12 @@
3540
"webpack": "^1.13.0",
3641
"webpack-dev-server": "^1.14.1"
3742
},
38-
"author": "Peach<[email protected]>",
43+
"peerDependencies": {
44+
"vue": "^1.0.0"
45+
},
46+
"author": {
47+
"name": "PeachScript",
48+
"email": "[email protected]"
49+
},
3950
"license": "MIT"
4051
}

0 commit comments

Comments
 (0)