refactor: build system

This commit is contained in:
2023-03-22 11:45:30 +01:00
parent 4df19e8c20
commit 8cb9285462
427 changed files with 3978 additions and 9810 deletions

View File

@@ -1,6 +1,5 @@
{
"name": "@openstapps/es-mapping-generator",
"version": "0.4.0",
"description": "Tool to convert TypeScript Interfaces to Elasticsearch Mappings",
"version": "2.1.0",
"type": "commonjs",
@@ -14,29 +13,23 @@
"author": "Thea Schöbl <dev@theaninova.de>",
"scripts": {
"build": "rimraf lib && tsc",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'",
"check-configuration": "openstapps-configuration",
"documentation": "typedoc --includeDeclarations --mode modules --out docs --readme README.md --listInvalidSymbolLinks src",
"version": "npm run changelog",
"prepublishOnly": "npm ci && npm run build",
"preversion": "npm run prepublishOnly",
"push": "git push && git push origin \"v$npm_package_version\"",
"test": "mocha --require ts-node/register test/*.spec.ts",
"format": "prettier .",
"format:fix": "prettier --write .",
"lint": "eslint -c .eslintrc --ignore-path .eslintignore --ext .ts src/ test/",
"lint:fix": "eslint --fix -c .eslintrc --ignore-path .eslintignore --ext .ts src/ test/"
"lint:fix": "eslint --fix -c .eslintrc --ignore-path .eslintignore --ext .ts src/ test/",
"test": "mocha --require ts-node/register test/*.spec.ts"
},
"dependencies": {
"@elastic/elasticsearch": "8.4.0",
"@openstapps/logger": "workspace:*",
"commander": "10.0.0",
"deepmerge": "4.3.0",
"deepmerge": "4.3.1",
"flatted": "3.2.7",
"got": "11.8.6",
"typedoc": "0.18.0",
"typescript": "3.8.3"
},
"devDependencies": {
"@openstapps/configuration": "workspace:*",
"@openstapps/prettier-config": "workspace:*",
"@testdeck/mocha": "0.3.3",
"@openstapps/eslint-config": "workspace:*",
"@types/chai": "4.3.4",
@@ -44,10 +37,10 @@
"@types/node": "14.18.38",
"@types/rimraf": "3.0.2",
"chai": "4.3.7",
"conventional-changelog-cli": "2.2.2",
"mocha": "10.2.0",
"nock": "13.3.0",
"rimraf": "4.4.0",
"ts-node": "10.9.1",
}
"rimraf": "5.0.0"
},
"prettier": "@openstapps/prettier-config"
}