diff --git a/package.json b/package.json index e24388749..6d9ce1dba 100644 --- a/package.json +++ b/package.json @@ -2,15 +2,13 @@ "name": "freon4dsl", "private": true, "scripts": { - "alive": "echo I am alive", - "bootstrap": "lerna bootstrap", - "cleanup": "rm -rf ./node_modules", - "start": "lerna run start --stream --parallel", - "build": "lerna run build --stream", - "build-release": "lerna run build-release --stream", - "test": "lerna run test --stream", - "lint": "lerna run lint --stream", - "nuke": "lerna exec \"rm -f package-lock.json npm-shrinkwrap.json\" && lerna clean --yes && lerna bootstrap && lerna exec --stream -- \"test -f package-lock.json || npm install --package-lock-only\"", + "clean": "rm -rf node_modules/ && npm run clean -w packages --if-present", + "start": "npm run start --stream --parallel", + "build": "npm run build -w packages --if-present", + "build-release": "npm run build-release -w packages --if-present", + "lint": "npm run lint -w packages --if-present", + "setup": "npm run setup -w packages --if-present", + "test": "npm run test -w packages --if-present", "prettier": "prettier --write --print-width 120 --tab-width 4 packages/*/src/**/*.ts packages/*/src/**/*.tsx packages/*/src/**/*.css" }, "devDependencies": { @@ -55,10 +53,6 @@ "ts-node": "^10.9.1", "ts-pegjs": "0.2.6", "tslib": "2.4.0", - "tslint": "6.1.3", - "tslint-config-prettier": "1.18.0", - "tslint-eslint-rules": "5.4.0", - "tslint-microsoft-contrib": "6.2.0", "typescript": "4.5.5", "typescript-svelte-plugin": "0.3.14" }, diff --git a/packages/core-svelte/package.json b/packages/core-svelte/package.json index 631b74433..34fd60364 100644 --- a/packages/core-svelte/package.json +++ b/packages/core-svelte/package.json @@ -13,6 +13,7 @@ "module": "dist/index.mjs", "types": "dist/index.d.ts", "scripts": { + "clean": "rm -rf node_modules/", "build": "rollup -c", "build-release": "yarn run build", "dev": "rollup -c -w", diff --git a/packages/meta/package.json b/packages/meta/package.json index 05b40104d..4d52bea9b 100644 --- a/packages/meta/package.json +++ b/packages/meta/package.json @@ -16,6 +16,7 @@ "freon": "dist/bin/freon-generator.js" }, "scripts": { + "clean": "rm -rf node_modules/", "cleanup": "bash ../../scripts/cleanup.sh", "lang-parser": "pegjs src/languagedef/parser/LanguageGrammar.pegjs", "scop-parser": "pegjs src/scoperdef/parser/ScoperGrammar.pegjs", diff --git a/packages/playground/package.json b/packages/playground/package.json index 748128ddc..4f6778bbf 100644 --- a/packages/playground/package.json +++ b/packages/playground/package.json @@ -4,6 +4,7 @@ "license": "MIT", "type": "module", "scripts": { + "clean": "rm -rf node_modules/", "build": "echo No build for playground", "build-app": "rollup -c", "dev": "cross-env NODE_PORT=3002 rollup -c -w", @@ -81,7 +82,7 @@ "clean-all-examples": "yarn clean-calculator && yarn clean-example && yarn clean-graphviz && yarn clean-heating && yarn clean-json && yarn clean-libraries && yarn clean-expressions && yarn clean-octopus && yarn clean-openhab && yarn clean-pi-languages && yarn clean-rules && yarn clean-taxrules", "clean-config": "rm */*/config/FreonConfiguration.ts", "clean-custom": "rm */*/*/Custom*.ts", - "clean": "yarn clean-config && yarn clean-custom" + "clean-code": "yarn clean-config && yarn clean-custom" }, "devDependencies": { "@material/theme": "^13.0.0", diff --git a/packages/server/package.json b/packages/server/package.json index c1565a5fb..999a4242e 100755 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -15,6 +15,7 @@ "model-server": "./dist/bin/start-server.js" }, "scripts": { + "clean": "rm -rf node_modules/", "cleanup": "bash ../../scripts/cleanup.sh", "start": "cross-env NODE_ENV=development NODE_PORT=3002 nodemon --watch 'src/**/*' -e ts,tsx --exec ts-node ./src/server/server-starter.ts", "build": "tsc --build", diff --git a/packages/test/package.json b/packages/test/package.json index ee1c0d9d9..9df59b96c 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -11,6 +11,7 @@ }, "type": "module", "scripts": { + "clean": "rm -rf node_modules/", "cleanup": "bash ../../scripts/cleanup.sh", "meta-it": "bash ../../scripts/freon-dev.sh -v meta-it -l src/demo/defs/LanguageDefinition.ast -o src/demo", "scope-it": "bash ../../scripts/freon-dev.sh -v scope-it -l src/demo/defs/LanguageDefinition.ast -s src/demo/defs/LanguageDefinition.scope -o src/demo", @@ -37,7 +38,7 @@ "clean-config": "rm */*/config/FreonConfiguration.ts", "clean-custom": "rm */*/*/Custom*.ts", "clean-parser": "rm -r */*/*parse*", - "clean": "yarn clean-config && yarn clean-custom", + "clean-code": "yarn clean-config && yarn clean-custom", "clean-demo": "bash ../../scripts/freon-dev.sh clean-it -d src/demo/defs -o src/demo", "clean-octopus": "bash ../../scripts/freon-dev.sh clean-it -f -d src/octopus-small/defs -o src/octopus-small", "clean-parser-conc": "bash ../../scripts/freon-dev.sh clean-it -f -d src/parser-basic-concepts/defs -o src/parser-basic-concepts",