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

feat: demo website #5

Merged
merged 21 commits into from
Jun 24, 2019
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
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ deploy:
skip_cleanup: true
script:
- npx semantic-release
- npm run publish:demo
on:
branch: master
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ A [JSON Schema](http://json-schema.org) Form builder for Angular 7+, similar to
Note: This project attemtps to take over where its predecesor left off.
It's based off of the above project, but rewritten from the ground up.

Note: This project is not ready for consumption. There is still a lot to do to
bring parity with [Angular JSON Schema Form](https://github.com/angular2-json-schema-form)

## Check out the live demo and play with the examples

[Check out some examples here.](https://jscharett.github.io/ngx-json-schema-form/)

### To install from NPM

```shell
Expand Down
15 changes: 11 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@
"projects/demo/src/assets"
],
"styles": [
"projects/demo/src/styles.css"
"projects/demo/src/styles.scss"
],
"scripts": []
"scripts": [
"node_modules/ace-builds/src-min/ace.js"
]
},
"configurations": {
"production": {
Expand Down Expand Up @@ -116,7 +118,7 @@
"tsConfig": "projects/demo/tsconfig.spec.json",
"karmaConfig": "projects/demo/karma.conf.js",
"styles": [
"projects/demo/src/styles.css"
"projects/demo/src/styles.scss"
],
"scripts": [],
"assets": [
Expand Down Expand Up @@ -172,5 +174,10 @@
}
}
},
"defaultProject": "ngx-json-schema-form"
"defaultProject": "ngx-json-schema-form",
"schematics": {
"@schematics/angular:component": {
"styleext": "scss"
}
}
}
74 changes: 74 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 18 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build": "npm run build:lib && npm run build:demo",
"build:lib": "ng build ngx-json-schema-form",
"build:demo": "ng build demo --prod --base-href=https://jscharett.github.io/ngx-json-schema-form/",
"test": "ng test",
"test-ci": "ng test --code-coverage --watch=false",
"test:lib": "ng test ngx-json-schema",
"test:lib-ci": "ng test ngx-json-schema-form --code-coverage --watch=false",
"test:demo": "ng test demo",
"test:demo-ci": "ng test demo --code-coverage --watch=false",
"test-ci": "npm run test:lib-ci && npm run test:demo-ci",
"lint": "ng lint",
"e2e": "ng e2e",
"copy-license": "copy .\\LICENSE .\\dist\\ngx-json-schema-form",
Expand All @@ -17,22 +23,30 @@
"preversion": "npm run lint && npm run test-ci",
"version": "npm run build && git add -A dist",
"postversion": "git push && git push --tags && rm -rf build/temp",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"publish:demo": "npx angular-cli-ghpages --dir=./dist/demo"
},
"private": false,
"dependencies": {
"@angular/animations": "~7.2.0",
"@angular/cdk": "^7.2.0",
"@angular/common": "~7.2.0",
"@angular/compiler": "~7.2.0",
"@angular/core": "~7.2.0",
"@angular/flex-layout": "7.0.0-beta.24",
"@angular/forms": "~7.2.0",
"@angular/http": "~7.2.0",
"@angular/material": "~7.2.0",
"@angular/platform-browser": "~7.2.0",
"@angular/platform-browser-dynamic": "~7.2.0",
"@angular/router": "~7.2.0",
"@types/ace": "0.0.36",
"@types/json-schema": "^7.0.3",
"ajv": "^6.10.0",
"brace": "^0.11.0",
"core-js": "^2.5.4",
"lodash": "^4.17.11",
"ng2-ace-editor": "0.3.9",
"rxjs": "~6.5.2",
"tslib": "^1.9.0",
"zone.js": "~0.9.1"
Expand All @@ -48,6 +62,7 @@
"@types/node": "~8.9.4",
"codelyzer": "~5.1.0",
"jasmine-core": "~3.4.0",
"jasmine-marbles": "^0.6.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.1.0",
"karma-chrome-launcher": "~2.2.0",
Expand Down
Loading