]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
chore: use yarn in all scripts
authorDaniel Ruf <mac1@daniel-ruf.de>
Sat, 28 Mar 2020 20:18:50 +0000 (21:18 +0100)
committerDaniel Ruf <mac1@daniel-ruf.de>
Sat, 28 Mar 2020 20:18:50 +0000 (21:18 +0100)
package.json

index 9b6077b8738f6449e6e3711b141a1e0b5387a2d4..07d75c221ec1275a1f25102569e0d670743c6a06 100644 (file)
   "homepage": "http://foundation.zurb.com/sites",
   "scripts": {
     "start": "gulp",
-    "test": "npm run test:sass && npm run test:javascript:units && npm run test:bundle",
-    "test:single-process": "npm run test:sass && npm run test:javascript:units:single-process && npm run test:bundle:single-process",
-    "test:ci": "npm run test:sass && npm run test:javascript:ci",
-    "test:ci:single-process": "npm run test:sass && npm run test:javascript:ci:single-process",
+    "test": "yarn test:sass && yarn test:javascript:units && yarn test:bundle",
+    "test:single-process": "yarn test:sass && yarn test:javascript:units:single-process && yarn test:bundle:single-process",
+    "test:ci": "yarn test:sass && yarn test:javascript:ci",
+    "test:ci:single-process": "yarn test:sass && yarn test:javascript:ci:single-process",
     "test:sass": "mocha test/sass/test_sass.js --colors",
     "test:javascript:transpile": "gulp sass:foundation --color && gulp test:transpile-js --color",
-    "test:javascript:units": "npm run test:javascript:transpile && mocha-headless-chrome -a ignore-resource-errors -a no-sandbox -a disable-setuid-sandbox -a disable-dev-shm-usage -f test/javascript/index.html",
-    "test:javascript:units:single-process": "npm run test:javascript:transpile && mocha-headless-chrome -a single-process -a ignore-resource-errors -a no-sandbox -a disable-setuid-sandbox -a disable-dev-shm-usage -f test/javascript/index.html",
-    "test:javascript:browserstack": "npm run test:javascript:transpile && browserstack-runner",
-    "test:javascript:ci": "npm run test:javascript:transpile && mocha-headless-chrome -a ignore-resource-errors -a no-sandbox -a disable-setuid-sandbox -a disable-dev-shm-usage -f test/javascript/index.html && browserstack-runner",
-    "test:javascript:ci:single-process": "npm run test:javascript:transpile && mocha-headless-chrome -a single-process -a ignore-resource-errors -a no-sandbox -a disable-setuid-sandbox -a disable-dev-shm-usage -f test/javascript/index.html && browserstack-runner",
+    "test:javascript:units": "yarn test:javascript:transpile && mocha-headless-chrome -a ignore-resource-errors -a no-sandbox -a disable-setuid-sandbox -a disable-dev-shm-usage -f test/javascript/index.html",
+    "test:javascript:units:single-process": "yarn test:javascript:transpile && mocha-headless-chrome -a single-process -a ignore-resource-errors -a no-sandbox -a disable-setuid-sandbox -a disable-dev-shm-usage -f test/javascript/index.html",
+    "test:javascript:browserstack": "yarn test:javascript:transpile && browserstack-runner",
+    "test:javascript:ci": "yarn test:javascript:transpile && mocha-headless-chrome -a ignore-resource-errors -a no-sandbox -a disable-setuid-sandbox -a disable-dev-shm-usage -f test/javascript/index.html && browserstack-runner",
+    "test:javascript:ci:single-process": "yarn test:javascript:transpile && mocha-headless-chrome -a single-process -a ignore-resource-errors -a no-sandbox -a disable-setuid-sandbox -a disable-dev-shm-usage -f test/javascript/index.html && browserstack-runner",
     "test:bundle": "mocha-headless-chrome -a ignore-resource-errors -a no-sandbox -a disable-setuid-sandbox -a disable-dev-shm-usage -f test/bundle/index.html",
     "test:bundle:single-process": "mocha-headless-chrome -a ignore-resource-errors -a single-process -a no-sandbox -a disable-setuid-sandbox -a disable-dev-shm-usage -f test/bundle/index.html",
     "test:visual": "gulp test --color",
-    "lockdeps": "npm i && npm-force-resolutions && rimraf yarn.lock && yarn import && rimraf shrinkwrap.yaml && pnpm import",
-    "relockdeps": "rimraf package-lock.json && npm run lockdeps",
     "deploy": "gulp deploy --color",
     "deploy:prep": "gulp deploy:prep --color",
     "deploy:docs": "gulp deploy:docs --color",