Commit c2d6a1a7 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Corrige le config de node et TS pour les deux paquets.

parent 51067811
......@@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "Runtime library for the composer package irstea/ng-model-generator-bundle.",
"main": "dist/index.js",
"directories": {},
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc -p tsconfig.lib.json",
"lint": "eslint --fix '{src,tests}/**/*.{js,ts}' --quiet --fix",
......@@ -21,6 +21,7 @@
],
"author": "Irstea - pôle IS",
"license": "LGPL-3.0-or-later",
"private": true,
"engines": {
"node": "^10",
"npm": ">=7"
......
{
"name": "ng-model-generator-test",
"description": "test package for ng-model-generator",
"repository": "none",
"license": "MIT",
"dependencies": {
"irstea-ng-model": "file:../.."
},
"private": true,
"scripts": {
"build": "tsc --pretty -noEmit"
},
......
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@tsconfig/node10/tsconfig.json",
"extends": "irstea-ng-model/tsconfig.json",
"compileOnSave": false,
"compilerOptions": {
"noEmit": true,
"rootDir": "./models"
......
......@@ -6,9 +6,10 @@
"compileOnSave": false,
"compilerOptions": {
"noEmit": true,
"rootDir": "./src/ts"
"rootDir": "./src/ts",
"experimentalDecorators": true
},
"include": ["src/ts/**/*.ts"],
"exclude": ["node_modules"]
"exclude": ["dist", "node_modules"]
}
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