Commit e1cf1e5f authored by Grand Francois's avatar Grand Francois
Browse files

correction de la génération d'un package installable close #7

Showing with 5 additions and 3 deletions
+5 -3
...@@ -7,7 +7,8 @@ commit ...@@ -7,7 +7,8 @@ commit
debug_test debug_test
run_testjs run_testjs
parse_spip_log parse_spip_log
jalhyd_class_diagram.png *.png
.npmignore .npmignore
.editorconfig .editorconfig
src/test.ts src/test.ts
jalhyd-*.tgz
...@@ -22,7 +22,7 @@ Then, you can install the necessary packages of the library: ...@@ -22,7 +22,7 @@ Then, you can install the necessary packages of the library:
### To generate locally installable package ### To generate locally installable package
`rm -rf jalhyd-<ver>.tgz build; npm build && npm pack` `npm run package`
### To compile and test code with jasmine ### To compile and test code with jasmine
......
jalhyd_class_diagram.png

15.1 KB

...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
"jasmine": "./node_modules/.bin/jasmine", "jasmine": "./node_modules/.bin/jasmine",
"karma": "./node_modules/typescript/bin/tsc --p spec/tsconfig.spec.json && ./node_modules/karma/bin/karma start", "karma": "./node_modules/typescript/bin/tsc --p spec/tsconfig.spec.json && ./node_modules/karma/bin/karma start",
"lint": "./node_modules/tslint/bin/tslint", "lint": "./node_modules/tslint/bin/tslint",
"viz": "tsviz -recursive src/ jalhyd_class_diagram.png" "viz": "tsviz -recursive src/ jalhyd_class_diagram.png",
"package": "rm -rf build; npm run build; npm pack"
} }
} }
Supports Markdown
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