Skip to content

Commit 3a718a6

Browse files
Merge pull request #277 from priley86/npm-package
update package.json
2 parents 6066761 + 3c96ea8 commit 3a718a6

File tree

4 files changed

+47
-4
lines changed

4 files changed

+47
-4
lines changed

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ dist/docs/index.html
2424
/docs
2525
/dist
2626
node_modules
27+
npm-debug.log
2728
lib
2829
.bower
29-
30-
#Actually, need to track these for site to run on Github Pages..
31-
#bower_components

.npmignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# generic (system) files/extensions we don't want
2+
*.seed
3+
*.log
4+
*.csv
5+
*.dat
6+
*.out
7+
*.pid
8+
*.gz
9+
.idea/*
10+
*.iml
11+
*.DS_Store
12+
lib-cov
13+
pids
14+
logs
15+
results
16+
test-results.xml
17+
dist/docs/components
18+
dist/docs/font*
19+
dist/docs/grunt-styles
20+
dist/docs/img
21+
dist/docs/index.html
22+
23+
24+
/docs
25+
node_modules
26+
npm-debug.log
27+
lib
28+
.bower

index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
require('angular');
2+
require('angular-animate');
3+
require('angular-sanitize');
4+
require('angular-ui-bootstrap');
5+
require('lodash');
6+
require('../patternfly/dist/js/patternfly.min');
7+
require('./dist/angular-patternfly');
8+
module.exports = 'angular-patternfly';

package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,17 @@
44
"version": "3.8.1",
55
"license": "Apache-2.0",
66
"description": "Angular extension of the PatternFly project.",
7+
"keywords": ["angular", "patternfly"],
8+
"main": "index.js",
79
"homepage": "https://github.com/patternfly/angular-patternfly",
8-
"dependencies": {},
10+
"dependencies": {
11+
"angular": "1.3.0 - 1.5.*",
12+
"angular-animate": "1.3.0 - 1.5.*",
13+
"angular-sanitize": "1.3.0 - 1.5.*",
14+
"angular-ui-bootstrap": "0.13.x",
15+
"lodash": "3.x",
16+
"patternfly": "~3.8.1"
17+
},
918
"devDependencies": {
1019
"express": "3.4.4",
1120
"grunt": "0.4.5",

0 commit comments

Comments
 (0)