Skip to content
Snippets Groups Projects
Commit 99908674 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

package.json: always call yarn and not npm

We don't require npm to be installed
parent 74c387d3
No related branches found
No related tags found
No related merge requests found
Pipeline #200602 passed
Showing
with 37 additions and 37 deletions
......@@ -53,12 +53,12 @@
"format": "yarn run format:eslint && yarn run format:prettier",
"format:eslint": "eslint \"**/*.{js,ts}\" --fix",
"format:prettier": "prettier \"**/*.{js,json,ts}\" --write",
"build": "npm run build-local",
"build": "yarn run build-local",
"build-local": "rollup --bundleConfigAsCjs -c",
"build-test": "rollup --bundleConfigAsCjs -c --environment BUILD:test",
"watch": "npm run watch-local",
"watch": "yarn run watch-local",
"watch-local": "rollup --bundleConfigAsCjs -c --watch",
"test": "npm run build-test && karma start --singleRun",
"test": "yarn run build-test && karma start --singleRun",
"lint": "eslint ."
}
}
......@@ -37,7 +37,7 @@
"clean": "rm dist/*",
"build": "rollup --bundleConfigAsCjs -c",
"build-test": "rollup --bundleConfigAsCjs -c --environment BUILD:test",
"test": "npm run build-test && karma start --singleRun",
"test": "yarn run build-test && karma start --singleRun",
"watch": "rollup --bundleConfigAsCjs -c --watch",
"lint": "eslint ."
},
......
......@@ -55,17 +55,17 @@
"format": "yarn run format:eslint && yarn run format:prettier",
"format:eslint": "eslint \"**/*.{js,ts}\" --fix",
"format:prettier": "prettier \"**/*.{js,json,ts}\" --write",
"build": "npm run build-local",
"build": "yarn run build-local",
"build-local": "rollup --bundleConfigAsCjs -c",
"build-dev": "rollup --bundleConfigAsCjs -c --environment BUILD:development",
"build-prod": "rollup --bundleConfigAsCjs -c --environment BUILD:production",
"build-demo": "rollup --bundleConfigAsCjs -c --environment BUILD:demo",
"build-test": "rollup --bundleConfigAsCjs -c --environment BUILD:test",
"i18next": "i18next",
"watch": "npm run watch-local",
"watch": "yarn run watch-local",
"watch-local": "rollup --bundleConfigAsCjs -c --watch",
"watch-dev": "rollup --bundleConfigAsCjs -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun",
"test": "yarn run build-test && karma start --singleRun",
"lint": "eslint ."
}
}
......@@ -51,17 +51,17 @@
"format": "yarn run format:eslint && yarn run format:prettier",
"format:eslint": "eslint \"**/*.{js,ts}\" --fix",
"format:prettier": "prettier \"**/*.{js,json,ts}\" --write",
"build": "npm run build-local",
"build": "yarn run build-local",
"build-local": "rollup --bundleConfigAsCjs -c",
"build-dev": "rollup --bundleConfigAsCjs -c --environment BUILD:development",
"build-prod": "rollup --bundleConfigAsCjs -c --environment BUILD:production",
"build-demo": "rollup --bundleConfigAsCjs -c --environment BUILD:demo",
"build-test": "rollup --bundleConfigAsCjs -c --environment BUILD:test",
"i18next": "i18next",
"watch": "npm run watch-local",
"watch": "yarn run watch-local",
"watch-local": "rollup --bundleConfigAsCjs -c --watch",
"watch-dev": "rollup --bundleConfigAsCjs -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun",
"test": "yarn run build-test && karma start --singleRun",
"lint": "eslint ."
}
}
......@@ -49,16 +49,16 @@
"format:eslint": "eslint \"**/*.{js,ts}\" --fix",
"format:prettier": "prettier \"**/*.{js,json,ts}\" --write",
"clean": "rm dist/*",
"build": "npm run build-local",
"build": "yarn run build-local",
"build-local": "rollup --bundleConfigAsCjs -c",
"build-dev": "rollup --bundleConfigAsCjs -c --environment BUILD:development",
"build-prod": "rollup --bundleConfigAsCjs -c --environment BUILD:production",
"build-demo": "rollup --bundleConfigAsCjs -c --environment BUILD:demo",
"build-test": "rollup --bundleConfigAsCjs -c --environment BUILD:test",
"watch": "npm run watch-local",
"watch": "yarn run watch-local",
"watch-local": "rollup --bundleConfigAsCjs -c --watch",
"watch-dev": "rollup --bundleConfigAsCjs -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun",
"test": "yarn run build-test && karma start --singleRun",
"lint": "eslint ."
}
}
......@@ -40,17 +40,17 @@
},
"scripts": {
"clean": "rm dist/*",
"build": "npm run build-local",
"build": "yarn run build-local",
"build-local": "rollup --bundleConfigAsCjs -c",
"build-dev": "rollup --bundleConfigAsCjs -c --environment BUILD:development",
"build-prod": "rollup --bundleConfigAsCjs -c --environment BUILD:production",
"build-demo": "rollup --bundleConfigAsCjs -c --environment BUILD:demo",
"build-test": "rollup --bundleConfigAsCjs -c --environment BUILD:test",
"i18next": "i18next",
"watch": "npm run watch-local",
"watch": "yarn run watch-local",
"watch-local": "rollup --bundleConfigAsCjs -c --watch",
"watch-dev": "rollup --bundleConfigAsCjs -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun",
"test": "yarn run build-test && karma start --singleRun",
"lint": "eslint ."
}
}
......@@ -46,7 +46,7 @@
"format": "yarn run format:eslint && yarn run format:prettier",
"format:eslint": "eslint \"**/*.{js,ts}\" --fix",
"format:prettier": "prettier \"**/*.{js,json,ts}\" --write",
"build": "npm run build-local",
"build": "yarn run build-local",
"build-local": "rollup --bundleConfigAsCjs -c",
"build-dev": "rollup --bundleConfigAsCjs -c --environment BUILD:development",
"build-prod": "rollup --bundleConfigAsCjs -c --environment BUILD:production",
......
......@@ -45,17 +45,17 @@
"format": "yarn run format:eslint && yarn run format:prettier",
"format:eslint": "eslint \"**/*.{js,ts}\" --fix",
"format:prettier": "prettier \"**/*.{js,json,ts}\" --write",
"build": "npm run build-local",
"build": "yarn run build-local",
"build-local": "rollup --bundleConfigAsCjs -c",
"build-dev": "rollup --bundleConfigAsCjs -c --environment BUILD:development",
"build-prod": "rollup --bundleConfigAsCjs -c --environment BUILD:production",
"build-demo": "rollup --bundleConfigAsCjs -c --environment BUILD:demo",
"build-test": "rollup --bundleConfigAsCjs -c --environment BUILD:test",
"i18next": "i18next",
"watch": "npm run watch-local",
"watch": "yarn run watch-local",
"watch-local": "rollup --bundleConfigAsCjs -c --watch",
"watch-dev": "rollup --bundleConfigAsCjs -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun",
"test": "yarn run build-test && karma start --singleRun",
"lint": "eslint ."
}
}
......@@ -48,17 +48,17 @@
"format": "yarn run format:eslint && yarn run format:prettier",
"format:eslint": "eslint \"**/*.{js,ts}\" --fix",
"format:prettier": "prettier \"**/*.{js,json,ts}\" --write",
"build": "npm run build-local",
"build": "yarn run build-local",
"build-local": "rollup --bundleConfigAsCjs -c",
"build-dev": "rollup --bundleConfigAsCjs -c --environment BUILD:development",
"build-prod": "rollup --bundleConfigAsCjs -c --environment BUILD:production",
"build-demo": "rollup --bundleConfigAsCjs -c --environment BUILD:demo",
"build-test": "rollup --bundleConfigAsCjs -c --environment BUILD:test",
"i18next": "i18next",
"watch": "npm run watch-local",
"watch": "yarn run watch-local",
"watch-local": "rollup --bundleConfigAsCjs -c --watch",
"watch-dev": "rollup --bundleConfigAsCjs -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun",
"test": "yarn run build-test && karma start --singleRun",
"lint": "eslint ."
}
}
......@@ -49,17 +49,17 @@
"format": "yarn run format:eslint && yarn run format:prettier",
"format:eslint": "eslint \"**/*.{js,ts}\" --fix",
"format:prettier": "prettier \"**/*.{js,json,ts}\" --write",
"build": "npm run build-local",
"build": "yarn run build-local",
"build-local": "rollup --bundleConfigAsCjs -c",
"build-dev": "rollup --bundleConfigAsCjs -c --environment BUILD:development",
"build-prod": "rollup --bundleConfigAsCjs -c --environment BUILD:production",
"build-demo": "rollup --bundleConfigAsCjs -c --environment BUILD:demo",
"build-test": "rollup --bundleConfigAsCjs -c --environment BUILD:test",
"i18next": "i18next",
"watch": "npm run watch-local",
"watch": "yarn run watch-local",
"watch-local": "rollup --bundleConfigAsCjs -c --watch",
"watch-dev": "rollup --bundleConfigAsCjs -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun",
"test": "yarn run build-test && karma start --singleRun",
"lint": "eslint ."
}
}
......@@ -47,7 +47,7 @@
"format": "yarn run format:eslint && yarn run format:prettier",
"format:eslint": "eslint \"**/*.{js,ts}\" --fix",
"format:prettier": "prettier \"**/*.{js,json,ts}\" --write",
"build": "npm run build-local",
"build": "yarn run build-local",
"build-local": "rollup --bundleConfigAsCjs -c",
"build-dev": "rollup --bundleConfigAsCjs -c --environment BUILD:development",
"build-prod": "rollup --bundleConfigAsCjs -c --environment BUILD:production",
......
......@@ -48,17 +48,17 @@
"format": "yarn run format:eslint && yarn run format:prettier",
"format:eslint": "eslint \"**/*.{js,ts}\" --fix",
"format:prettier": "prettier \"**/*.{js,json,ts}\" --write",
"build": "npm run build-local",
"build": "yarn run build-local",
"build-local": "rollup --bundleConfigAsCjs -c",
"build-dev": "rollup --bundleConfigAsCjs -c --environment BUILD:development",
"build-prod": "rollup --bundleConfigAsCjs -c --environment BUILD:production",
"build-demo": "rollup --bundleConfigAsCjs -c --environment BUILD:demo",
"build-test": "rollup --bundleConfigAsCjs -c --environment BUILD:test",
"i18next": "i18next",
"watch": "npm run watch-local",
"watch": "yarn run watch-local",
"watch-local": "rollup --bundleConfigAsCjs -c --watch",
"watch-dev": "rollup --bundleConfigAsCjs -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun",
"test": "yarn run build-test && karma start --singleRun",
"lint": "eslint ."
}
}
......@@ -49,17 +49,17 @@
"format": "yarn run format:eslint && yarn run format:prettier",
"format:eslint": "eslint \"**/*.{js,ts}\" --fix",
"format:prettier": "prettier \"**/*.{js,json,ts}\" --write",
"build": "npm run build-local",
"build": "yarn run build-local",
"build-local": "rollup --bundleConfigAsCjs -c",
"build-dev": "rollup --bundleConfigAsCjs -c --environment BUILD:development",
"build-prod": "rollup --bundleConfigAsCjs -c --environment BUILD:production",
"build-demo": "rollup --bundleConfigAsCjs -c --environment BUILD:demo",
"build-test": "rollup --bundleConfigAsCjs -c --environment BUILD:test",
"i18next": "i18next",
"watch": "npm run watch-local",
"watch": "yarn run watch-local",
"watch-local": "rollup --bundleConfigAsCjs -c --watch",
"watch-dev": "rollup --bundleConfigAsCjs -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun",
"test": "yarn run build-test && karma start --singleRun",
"lint": "eslint ."
}
}
......@@ -47,17 +47,17 @@
"format": "yarn run format:eslint && yarn run format:prettier",
"format:eslint": "eslint \"**/*.{js,ts}\" --fix",
"format:prettier": "prettier \"**/*.{js,json,ts}\" --write",
"build": "npm run build-local",
"build": "yarn run build-local",
"build-local": "rollup --bundleConfigAsCjs -c",
"build-dev": "rollup --bundleConfigAsCjs -c --environment BUILD:development",
"build-prod": "rollup --bundleConfigAsCjs -c --environment BUILD:production",
"build-demo": "rollup --bundleConfigAsCjs -c --environment BUILD:demo",
"build-test": "rollup --bundleConfigAsCjs -c --environment BUILD:test",
"i18next": "i18next",
"watch": "npm run watch-local",
"watch": "yarn run watch-local",
"watch-local": "rollup --bundleConfigAsCjs -c --watch",
"watch-dev": "rollup --bundleConfigAsCjs -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun",
"test": "yarn run build-test && karma start --singleRun",
"lint": "eslint ."
}
}
......@@ -48,7 +48,7 @@
"format": "yarn run format:eslint && yarn run format:prettier",
"format:eslint": "eslint \"**/*.{js,ts}\" --fix",
"format:prettier": "prettier \"**/*.{js,json,ts}\" --write",
"build": "npm run build-local",
"build": "yarn run build-local",
"build-local": "rollup --bundleConfigAsCjs -c",
"build-dev": "rollup --bundleConfigAsCjs -c --environment BUILD:development",
"build-prod": "rollup --bundleConfigAsCjs -c --environment BUILD:production",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment