Skip to content

Commit 5c6a99d

Browse files
committed
refactor: add start script to run the example easily
1 parent b445d0e commit 5c6a99d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

package.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
{
22
"name": "angular-pdf",
33
"version": "1.2.8",
4+
"main": "dist/angular-pdf.js",
45
"author": "Sayanee <[email protected]>",
56
"description": "An Angularjs directive <ng-pdf> to display PDF in the browser with PDFJS.",
67
"repository": {
78
"type": "git",
89
"url": "https://github.com/sayanee/angular-pdf.git"
910
},
11+
"keywords": [
12+
"pdf",
13+
"angular",
14+
"directive"
15+
],
1016
"license": "MIT",
1117
"devDependencies": {
1218
"grunt": "0.4.5",
@@ -19,6 +25,7 @@
1925
"grunt-jscs": "2.5.0",
2026
"grunt-jsonlint": "1.0.6",
2127
"grunt-karma": "^0.12.1",
28+
"http-server": "^0.8.5",
2229
"jasmine-core": "^2.4.1",
2330
"karma": "^0.13.15",
2431
"karma-jasmine": "^0.3.6",
@@ -27,7 +34,8 @@
2734
"phantomjs": "^1.9.19"
2835
},
2936
"scripts": {
30-
"test": "grunt --verbose",
31-
"build": "grunt"
37+
"build": "grunt",
38+
"start": "http-server ./example -p 8081",
39+
"test": "grunt --verbose"
3240
}
3341
}

0 commit comments

Comments
 (0)