Do not compile ts config/ files

This commit is contained in:
Alice Gaudon 2020-09-03 08:06:27 +02:00
parent d0191abf6d
commit 3bad149cdb
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "wms-core",
"version": "0.21.6",
"version": "0.21.7",
"description": "Node web application framework and toolbelt.",
"repository": "https://gitlab.com/ArisuOngaku/wms-core",
"author": "Alice Gaudon <alice@gaudon.pro>",
@ -14,7 +14,7 @@
"types": "dist/index.d.ts",
"scripts": {
"test": "jest --verbose --runInBand",
"build": "(test ! -d dist || rm -r dist) && tsc && cp package.json dist/ && cp yarn.lock dist/ && cp -r views dist/ && mkdir dist/types && cp src/types/* dist/types/ && mv dist/src/* dist/ && rm -r dist/src",
"build": "(test ! -d dist || rm -r dist) && tsc && cp package.json dist/ && cp yarn.lock dist/ && cp -r config dist/ && cp -r views dist/ && mkdir dist/types && cp src/types/* dist/types/",
"build_and_publish": "yarn test && yarn build && cd dist && yarn publish"
},
"devDependencies": {

View File

@ -31,7 +31,6 @@
]
},
"include": [
"src/**/*",
"config/*"
"src/**/*"
]
}