Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure #23

Merged
merged 4 commits into from
Jan 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions examples/ng-cli/.angular-cli.json → .angular-cli.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": {
"name": "ng-cli"
"name": "ngx-img-fallback"
},
"apps": [
{
Expand Down Expand Up @@ -36,13 +36,16 @@
},
"lint": [
{
"project": "src/tsconfig.app.json"
"project": "src/tsconfig.app.json",
"exclude": "**/node_modules/**"
},
{
"project": "src/tsconfig.spec.json"
"project": "src/tsconfig.spec.json",
"exclude": "**/node_modules/**"
},
{
"project": "e2e/tsconfig.e2e.json"
"project": "e2e/tsconfig.e2e.json",
"exclude": "**/node_modules/**"
}
],
"test": {
Expand Down
File renamed without changes.
28 changes: 22 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,27 +1,43 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
dist/

# compiled output
/dist
/dist-server
/tmp
/out-tsc

# dependencies
/node_modules
/example/node_modules

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# misc
/.sass-cache
/connect.lock
/coverage/*
/coverage
/libpeerconnection.log
npm-debug.log
/example/npm-debug.log
testem.log
/typings
/example/typings

# e2e
/e2e/*.js
/e2e/*.map

#System Files
# System Files
.DS_Store
Thumbs.db
4 changes: 2 additions & 2 deletions SYSTEMJS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Add to ```map```
```js
var map = {
...
'ngx-img-fallback': 'node_modules/ngx-img-fallback'
'ngx-img-fallback': 'node_modules/ngx-img-fallback/bundles'
}
```

Expand All @@ -16,6 +16,6 @@ and then to ```packages```
```js
var packages = {
...
'ngx-img-fallback': { main: 'dist/bundles/ngx-img-fallback.umd.js' }
'ngx-img-fallback': { defaultExtension: 'js' }
}
```
14 changes: 14 additions & 0 deletions e2e/app.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { AppPage } from './app.po';

describe('ngx-img-fallback App', () => {
let page: AppPage;

beforeEach(() => {
page = new AppPage();
});

it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to app!');
});
});
2 changes: 1 addition & 1 deletion examples/ng-cli/e2e/app.po.ts → e2e/app.po.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { browser, by, element } from 'protractor';

export class NgCliPage {
export class AppPage {
navigateTo() {
return browser.get('/');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/e2e",
"baseUrl": "./",
"module": "commonjs",
"target": "es5",
"types": [
"jasmine",
"jasminewd2",
"node"
]
}
Expand Down
17 changes: 0 additions & 17 deletions examples/ionic/.editorconfig

This file was deleted.

34 changes: 0 additions & 34 deletions examples/ionic/.gitignore

This file was deleted.

31 changes: 0 additions & 31 deletions examples/ionic/config.xml

This file was deleted.

6 changes: 0 additions & 6 deletions examples/ionic/ionic.config.json

This file was deleted.

49 changes: 0 additions & 49 deletions examples/ionic/package.json

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed examples/ionic/resources/icon.png
Binary file not shown.
Binary file removed examples/ionic/resources/ios/icon/icon-40.png
Binary file not shown.
Binary file removed examples/ionic/resources/ios/icon/[email protected]
Binary file not shown.
Binary file removed examples/ionic/resources/ios/icon/icon-50.png
Binary file not shown.
Binary file removed examples/ionic/resources/ios/icon/[email protected]
Binary file not shown.
Binary file removed examples/ionic/resources/ios/icon/icon-60.png
Binary file not shown.
Binary file not shown.
Binary file removed examples/ionic/resources/ios/icon/[email protected]
Diff not rendered.
Binary file removed examples/ionic/resources/ios/icon/icon-72.png
Diff not rendered.
Binary file removed examples/ionic/resources/ios/icon/[email protected]
Diff not rendered.
Binary file removed examples/ionic/resources/ios/icon/icon-76.png
Diff not rendered.
Binary file removed examples/ionic/resources/ios/icon/[email protected]
Diff not rendered.
Binary file removed examples/ionic/resources/ios/icon/icon-small.png
Diff not rendered.
Binary file removed examples/ionic/resources/ios/icon/[email protected]
Diff not rendered.
Binary file removed examples/ionic/resources/ios/icon/[email protected]
Diff not rendered.
Binary file removed examples/ionic/resources/ios/icon/icon.png
Diff not rendered.
Binary file removed examples/ionic/resources/ios/icon/[email protected]
Diff not rendered.
Diff not rendered.
Binary file removed examples/ionic/resources/ios/splash/Default-667h.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed examples/ionic/resources/splash.png
Diff not rendered.
22 changes: 0 additions & 22 deletions examples/ionic/src/app/app.component.ts

This file was deleted.

23 changes: 0 additions & 23 deletions examples/ionic/src/app/app.module.ts

This file was deleted.

16 changes: 0 additions & 16 deletions examples/ionic/src/app/app.scss

This file was deleted.

5 changes: 0 additions & 5 deletions examples/ionic/src/app/main.dev.ts

This file was deleted.

7 changes: 0 additions & 7 deletions examples/ionic/src/app/main.prod.ts

This file was deleted.

Binary file removed examples/ionic/src/assets/icon/favicon.ico
Binary file not shown.
14 changes: 0 additions & 14 deletions examples/ionic/src/declarations.d.ts

This file was deleted.

Loading