Skip to content

Commit ae5ebaa

Browse files
committed
init
0 parents  commit ae5ebaa

File tree

184 files changed

+30318
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+30318
-0
lines changed

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Install
2+
3+
```
4+
npm install
5+
```
6+
(this could take a few minutes)
7+
8+
9+
# Run
10+
11+
In one console window, start up the project
12+
```
13+
npm start
14+
```
15+
16+
after that starts, in a second console window open cypress
17+
```
18+
npx cypress open
19+
```
20+
OR
21+
```
22+
npm run cypress-open
23+
```

angular.json

+97
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"test1": {
7+
"root": "",
8+
"sourceRoot": "src",
9+
"projectType": "application",
10+
"prefix": "app",
11+
"schematics": {
12+
"@schematics/angular:component": {
13+
"styleext": "scss"
14+
}
15+
},
16+
"architect": {
17+
"build": {
18+
"builder": "@angular-devkit/build-angular:browser",
19+
"options": {
20+
"outputPath": "dist/test1",
21+
"index": "src/index.html",
22+
"main": "src/main.ts",
23+
"polyfills": "src/polyfills.ts",
24+
"tsConfig": "src/tsconfig.app.json",
25+
"assets": ["src/favicon.ico", "src/assets"],
26+
"styles": ["src/styles.scss"],
27+
"scripts": []
28+
},
29+
"configurations": {
30+
"production": {
31+
"fileReplacements": [
32+
{
33+
"replace": "src/environments/environment.ts",
34+
"with": "src/environments/environment.prod.ts"
35+
}
36+
],
37+
"optimization": true,
38+
"outputHashing": "all",
39+
"sourceMap": false,
40+
"extractCss": true,
41+
"namedChunks": false,
42+
"aot": true,
43+
"extractLicenses": true,
44+
"vendorChunk": false,
45+
"buildOptimizer": true,
46+
"budgets": [
47+
{
48+
"type": "initial",
49+
"maximumWarning": "2mb",
50+
"maximumError": "5mb"
51+
}
52+
]
53+
}
54+
}
55+
},
56+
"serve": {
57+
"builder": "@angular-devkit/build-angular:dev-server",
58+
"options": {
59+
"browserTarget": "test1:build",
60+
"proxyConfig": "proxy.conf.json"
61+
},
62+
"configurations": {
63+
"production": {
64+
"browserTarget": "test1:build:production"
65+
}
66+
}
67+
},
68+
"extract-i18n": {
69+
"builder": "@angular-devkit/build-angular:extract-i18n",
70+
"options": {
71+
"browserTarget": "test1:build"
72+
}
73+
},
74+
"test": {
75+
"builder": "@angular-devkit/build-angular:karma",
76+
"options": {
77+
"main": "src/test.ts",
78+
"polyfills": "src/polyfills.ts",
79+
"tsConfig": "src/tsconfig.spec.json",
80+
"karmaConfig": "src/karma.conf.js",
81+
"styles": ["src/styles.scss"],
82+
"scripts": [],
83+
"assets": ["src/favicon.ico", "src/assets"]
84+
}
85+
},
86+
"lint": {
87+
"builder": "@angular-devkit/build-angular:tslint",
88+
"options": {
89+
"tsConfig": ["src/tsconfig.app.json", "src/tsconfig.spec.json"],
90+
"exclude": ["**/node_modules/**"]
91+
}
92+
}
93+
}
94+
}
95+
},
96+
"defaultProject": "test1"
97+
}

cypress.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"baseUrl": "http://localhost:4200"
3+
}

cypress/fixtures/articles.bad.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[
2+
{
3+
"_id": "58dd324ae8e5d30004e9f7aa",
4+
"submitted_date": "2017-03-30T16:28:58.964Z",
5+
"submitted_by_name": "Jill Jorgensen",
6+
"submitted_by_id": 104549270167342400000,
7+
"published_date": "2016-08-25T00:00:00.000Z",
8+
"author_lower_name": " muhammad uzair",
9+
"author_name": " Muhammad Uzair",
10+
"title_lower": "handling the challenge of shared state with ngrx/store in angular 2",
11+
"title": "Handling The Challenge Of Shared State With Ngrx/store In Angular 2",
12+
"url": "https://appendto.com/2016/08/handling-the-challenge-of-shared-state-with-ngrxstore-in-angular-2/",
13+
"version": "2+",
14+
"type": "Blog",
15+
"__v": 0,
16+
"status": "approved",
17+
"url_lower": "https://appendto.com/2016/08/handling-the-challenge-of-shared-state-with-ngrxstore-in-angular-2/",
18+
"rating": 0,
19+
"tags": []
20+
}
21+
]

0 commit comments

Comments
 (0)