Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e219aac

Browse files
first commit
0 parents commit e219aac

38 files changed

+13179
-0
lines changed

‎.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Specifies intentionally untracked files to ignore when using Git
2+
# http://git-scm.com/docs/gitignore
3+
4+
*~
5+
*.sw[mnpcod]
6+
.tmp
7+
*.tmp
8+
*.tmp.*
9+
*.sublime-project
10+
*.sublime-workspace
11+
.DS_Store
12+
Thumbs.db
13+
UserInterfaceState.xcuserstate
14+
$RECYCLE.BIN/
15+
16+
*.log
17+
log.txt
18+
npm-debug.log*
19+
20+
/.idea
21+
/.ionic
22+
/.sass-cache
23+
/.sourcemaps
24+
/.versions
25+
/.vscode
26+
/coverage
27+
/dist
28+
/node_modules
29+
/platforms
30+
/plugins
31+
/www

‎angular.json

Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"defaultProject": "app",
5+
"newProjectRoot": "projects",
6+
"projects": {
7+
"app": {
8+
"root": "",
9+
"sourceRoot": "src",
10+
"projectType": "application",
11+
"prefix": "app",
12+
"schematics": {},
13+
"architect": {
14+
"build": {
15+
"builder": "@angular-devkit/build-angular:browser",
16+
"options": {
17+
"outputPath": "www",
18+
"index": "src/index.html",
19+
"main": "src/main.ts",
20+
"polyfills": "src/polyfills.ts",
21+
"tsConfig": "tsconfig.app.json",
22+
"assets": [
23+
{
24+
"glob": "**/*",
25+
"input": "src/assets",
26+
"output": "assets"
27+
},
28+
{
29+
"glob": "**/*.svg",
30+
"input": "node_modules/ionicons/dist/ionicons/svg",
31+
"output": "./svg"
32+
}
33+
],
34+
"styles": [
35+
{
36+
"input": "src/theme/variables.scss"
37+
},
38+
{
39+
"input": "src/global.scss"
40+
}
41+
],
42+
"scripts": []
43+
},
44+
"configurations": {
45+
"production": {
46+
"fileReplacements": [
47+
{
48+
"replace": "src/environments/environment.ts",
49+
"with": "src/environments/environment.prod.ts"
50+
}
51+
],
52+
"optimization": true,
53+
"outputHashing": "all",
54+
"sourceMap": false,
55+
"extractCss": true,
56+
"namedChunks": false,
57+
"aot": true,
58+
"extractLicenses": true,
59+
"vendorChunk": false,
60+
"buildOptimizer": true,
61+
"budgets": [
62+
{
63+
"type": "initial",
64+
"maximumWarning": "2mb",
65+
"maximumError": "5mb"
66+
}
67+
]
68+
},
69+
"ci": {
70+
"progress": false
71+
}
72+
}
73+
},
74+
"serve": {
75+
"builder": "@angular-devkit/build-angular:dev-server",
76+
"options": {
77+
"browserTarget": "app:build"
78+
},
79+
"configurations": {
80+
"production": {
81+
"browserTarget": "app:build:production"
82+
},
83+
"ci": {
84+
"progress": false
85+
}
86+
}
87+
},
88+
"extract-i18n": {
89+
"builder": "@angular-devkit/build-angular:extract-i18n",
90+
"options": {
91+
"browserTarget": "app:build"
92+
}
93+
},
94+
"test": {
95+
"builder": "@angular-devkit/build-angular:karma",
96+
"options": {
97+
"main": "src/test.ts",
98+
"polyfills": "src/polyfills.ts",
99+
"tsConfig": "tsconfig.spec.json",
100+
"karmaConfig": "karma.conf.js",
101+
"styles": [],
102+
"scripts": [],
103+
"assets": [
104+
{
105+
"glob": "favicon.ico",
106+
"input": "src/",
107+
"output": "/"
108+
},
109+
{
110+
"glob": "**/*",
111+
"input": "src/assets",
112+
"output": "/assets"
113+
}
114+
]
115+
},
116+
"configurations": {
117+
"ci": {
118+
"progress": false,
119+
"watch": false
120+
}
121+
}
122+
},
123+
"lint": {
124+
"builder": "@angular-devkit/build-angular:tslint",
125+
"options": {
126+
"tsConfig": [
127+
"tsconfig.app.json",
128+
"tsconfig.spec.json",
129+
"e2e/tsconfig.json"
130+
],
131+
"exclude": ["**/node_modules/**"]
132+
}
133+
},
134+
"e2e": {
135+
"builder": "@angular-devkit/build-angular:protractor",
136+
"options": {
137+
"protractorConfig": "e2e/protractor.conf.js",
138+
"devServerTarget": "app:serve"
139+
},
140+
"configurations": {
141+
"production": {
142+
"devServerTarget": "app:serve:production"
143+
},
144+
"ci": {
145+
"devServerTarget": "app:serve:ci"
146+
}
147+
}
148+
},
149+
"ionic-cordova-build": {
150+
"builder": "@ionic/angular-toolkit:cordova-build",
151+
"options": {
152+
"browserTarget": "app:build"
153+
},
154+
"configurations": {
155+
"production": {
156+
"browserTarget": "app:build:production"
157+
}
158+
}
159+
},
160+
"ionic-cordova-serve": {
161+
"builder": "@ionic/angular-toolkit:cordova-serve",
162+
"options": {
163+
"cordovaBuildTarget": "app:ionic-cordova-build",
164+
"devServerTarget": "app:serve"
165+
},
166+
"configurations": {
167+
"production": {
168+
"cordovaBuildTarget": "app:ionic-cordova-build:production",
169+
"devServerTarget": "app:serve:production"
170+
}
171+
}
172+
}
173+
}
174+
}
175+
},
176+
"cli": {
177+
"defaultCollection": "@ionic/angular-toolkit"
178+
},
179+
"schematics": {
180+
"@ionic/angular-toolkit:component": {
181+
"styleext": "scss"
182+
},
183+
"@ionic/angular-toolkit:page": {
184+
"styleext": "scss"
185+
}
186+
}
187+
}

‎browserslist

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# You can see what browsers were selected by your queries by running:
6+
# npx browserslist
7+
8+
> 0.5%
9+
last 2 versions
10+
Firefox ESR
11+
not dead
12+
not IE 9-11 # For IE 9-11 support, remove 'not'.

‎e2e/protractor.conf.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Protractor configuration file, see link for more information
2+
// https://github.com/angular/protractor/blob/master/lib/config.ts
3+
4+
const { SpecReporter } = require('jasmine-spec-reporter');
5+
6+
exports.config = {
7+
allScriptsTimeout: 11000,
8+
specs: [
9+
'./src/**/*.e2e-spec.ts'
10+
],
11+
capabilities: {
12+
'browserName': 'chrome'
13+
},
14+
directConnect: true,
15+
baseUrl: 'http://localhost:4200/',
16+
framework: 'jasmine',
17+
jasmineNodeOpts: {
18+
showColors: true,
19+
defaultTimeoutInterval: 30000,
20+
print: function() {}
21+
},
22+
onPrepare() {
23+
require('ts-node').register({
24+
project: require('path').join(__dirname, './tsconfig.json')
25+
});
26+
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
27+
}
28+
};

‎e2e/src/app.e2e-spec.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { AppPage } from './app.po';
2+
3+
describe('new App', () => {
4+
let page: AppPage;
5+
6+
beforeEach(() => {
7+
page = new AppPage();
8+
});
9+
10+
it('should be blank', () => {
11+
page.navigateTo();
12+
expect(page.getParagraphText()).toContain('The world is your oyster.');
13+
});
14+
});

‎e2e/src/app.po.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { browser, by, element } from 'protractor';
2+
3+
export class AppPage {
4+
navigateTo() {
5+
return browser.get('/');
6+
}
7+
8+
getParagraphText() {
9+
return element(by.deepCss('app-root ion-content')).getText();
10+
}
11+
}

‎e2e/tsconfig.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "../out-tsc/app",
5+
"module": "commonjs",
6+
"target": "es5",
7+
"types": [
8+
"jasmine",
9+
"jasminewd2",
10+
"node"
11+
]
12+
}
13+
}

‎ionic.config.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "ionic-angular-datatable",
3+
"integrations": {},
4+
"type": "angular"
5+
}

‎karma.conf.js

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// Karma configuration file, see link for more information
2+
// https://karma-runner.github.io/1.0/config/configuration-file.html
3+
4+
module.exports = function (config) {
5+
config.set({
6+
basePath: '',
7+
frameworks: ['jasmine', '@angular-devkit/build-angular'],
8+
plugins: [
9+
require('karma-jasmine'),
10+
require('karma-chrome-launcher'),
11+
require('karma-jasmine-html-reporter'),
12+
require('karma-coverage-istanbul-reporter'),
13+
require('@angular-devkit/build-angular/plugins/karma')
14+
],
15+
client: {
16+
clearContext: false // leave Jasmine Spec Runner output visible in browser
17+
},
18+
coverageIstanbulReporter: {
19+
dir: require('path').join(__dirname, '../coverage'),
20+
reports: ['html', 'lcovonly', 'text-summary'],
21+
fixWebpackSourcePaths: true
22+
},
23+
reporters: ['progress', 'kjhtml'],
24+
port: 9876,
25+
colors: true,
26+
logLevel: config.LOG_INFO,
27+
autoWatch: true,
28+
browsers: ['Chrome'],
29+
singleRun: false
30+
});
31+
};

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /