Commit def1ec07 authored by Zéfling's avatar Zéfling 🎨
Browse files

Easier build

parent 81b7f875
......@@ -53,8 +53,7 @@ console.log(new Json2html({
## Publishing the library
```
ng build json2html --prod
cp *.md dist/json2html
npm run build:lib
cd dist/json2html
npm publish
```
......@@ -62,7 +61,7 @@ npm publish
## Publishing the demo
```
ng build --prod
npm run build:demo
```
## License
......
{
"name": "@zaide/json2html-demo",
"name": "json2html-demo",
"version": "0.0.3",
"license": "MIT",
"repository": {
......@@ -12,7 +12,9 @@
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
"e2e": "ng e2e",
"build:lib": "ng build json2html --prod && cp *.md dist/json2html",
"build:demo": "ng build --prod"
},
"private": true,
"dependencies": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment