Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pôle IS
Bundles Symfony 2
ng-model-generator-bundle
Commits
c2d6a1a7
Commit
c2d6a1a7
authored
Feb 17, 2021
by
Guillaume Perréal
Browse files
Corrige le config de node et TS pour les deux paquets.
parent
51067811
Changes
4
Hide whitespace changes
Inline
Side-by-side
package.json
View file @
c2d6a1a7
...
...
@@ -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"
...
...
tests/Fixtures/package.json
View file @
c2d6a1a7
{
"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"
},
...
...
tests/Fixtures/tsconfig.json
View file @
c2d6a1a7
{
"$schema"
:
"https://json.schemastore.org/tsconfig"
,
"extends"
:
"
@tsconfig/n
ode
10
/tsconfig.json"
,
"extends"
:
"
irstea-ng-m
ode
l
/tsconfig.json"
,
"compileOnSave"
:
false
,
"compilerOptions"
:
{
"noEmit"
:
true
,
"rootDir"
:
"./models"
...
...
tsconfig.json
View file @
c2d6a1a7
...
...
@@ -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"
]
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment