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

test: corrige la compilation du code généré.

parent 08893874
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"lint": "eslint --fix '{src,tests}/**/*.{js,ts}' --quiet --fix", "lint": "eslint --fix '{src,tests}/**/*.{js,ts}' --quiet --fix",
"test": "jest", "test": "jest",
"test:lint": "eslint '{src,tests}/**/*.{js,ts}'", "test:lint": "eslint '{src,tests}/**/*.{js,ts}'",
"test:compile-generated": "cd tests/Fixtures && npm install && tsc --pretty" "test:compile-generated": "cd tests/Fixtures && npm install && npm run-script build"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
......
../../output
\ No newline at end of file
...@@ -2,5 +2,8 @@ ...@@ -2,5 +2,8 @@
"name": "ng-model-generator-test", "name": "ng-model-generator-test",
"dependencies": { "dependencies": {
"irstea-ng-model": "file:../.." "irstea-ng-model": "file:../.."
},
"scripts": {
"build": "tsc --pretty -noEmit"
} }
} }
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