Commit 3301db2a authored by Grand Francois's avatar Grand Francois
Browse files

modifs pour pouvoir générer un package intégrable dans un autre projet (cf README sur npm pack)

Showing with 15 additions and 5 deletions
+15 -5
tmp
graphviz
build
.vscode
grep
Makefile
......
{
"name": "JaLHyd",
"name": "jalhyd",
"version": "1.0.0",
"author": "DD",
"license": "ISC",
"description": "Javascript Library for Hydraulics",
"description": "JaLHyd, a Javascript Library for Hydraulics",
"main": "build/index.js",
"types": "build/index.d.ts",
"module": "build/index.js",
"dependencies": {},
"devDependencies": {
"@types/jasmine": "^2.5.47",
......
export * from './base';
export * from './param';
export * from './nub';
export * from './cond_distri';
export * from './dichotomie';
export * from './lechaptcalmon';
export * from './regime_uniforme';
......@@ -2,10 +2,11 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"types": [],
"removeComments": false
"removeComments": false,
"declaration": true // génère le fichier .d.ts à partir de index.ts
},
"include": [
"../src/**/*.ts"
],
"exclude": []
}
\ No newline at end of file
}
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