Skip to content

Commit

Permalink
make package play well with ecosystem of JS
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrowhurstram committed Sep 24, 2016
1 parent 09912a6 commit 8c32faa
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 2,724 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
.idea
node_modules
out
typings
npm-debug.*
index.js
index.d.ts
Expand All @@ -24,7 +23,7 @@ test/*.js
!test/index.js
!test/index.d.ts
# redundant webpack build artifacts produced by ExtractTextPlugin
dist/styles.*
bundles
build
build-stats.json
docs
32 changes: 17 additions & 15 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
.vscode
.idea
.temp
demo-apps
demo-site
docs
examples-old
out
src
test
typings
.vscode/
.idea/
.temp/
bundles/styles.*
demo-apps/
demo-site/
docs/
e2e/
examples-old/
out/
scripts/
*.ts
!*.d.ts
test/
.editorconfig
.travis.yml
*.yml
*.json
*.js
!/dist/*.js
npm-shrinkwrap.json
*.conf.js
*.config.js
4 changes: 2 additions & 2 deletions demo-apps/es5/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<meta name="viewport" content="width=device-width">

<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="node_modules/ng-table/dist/ng-table.css">
<link rel="stylesheet" href="node_modules/ng-table/bundles/ng-table.css">
<script src="node_modules/angular/angular.min.js"></script>
<script src="node_modules/ng-table/dist/ng-table.js"></script>
<script src="node_modules/ng-table/bundles/ng-table.js"></script>
<script src="index.js"></script>
<script src="src/my-table.component.js"></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion demo-apps/es6-systemjs/system.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
};

var packages = {
'ng-table': { main: '/dist/ng-table.js', defaultExtension: 'js' },
'ng-table': { main: '/bundles/ng-table.js', defaultExtension: 'js' },
'src': { defaultExtension: 'js' },
'angular': { main: 'index.js', defaultExtension: 'js' }
};
Expand Down
229 changes: 0 additions & 229 deletions dist/ng-table.css

This file was deleted.

0 comments on commit 8c32faa

Please sign in to comment.