From e6a0d49f21604c8e0b8dd7308fa894cf3cc0e8d9 Mon Sep 17 00:00:00 2001 From: meriadec Date: Sat, 7 Jul 2018 15:53:28 +0200 Subject: [PATCH] Unify/reorder the way scripts are described --- package.json | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 5a53ef42..101f5207 100644 --- a/package.json +++ b/package.json @@ -7,19 +7,18 @@ "author": "Ledger", "license": "MIT", "scripts": { - "compile": "./scripts/compile.sh", - "dist:dir": "./scripts/legacy/dist-dir.sh", + "postinstall": "./scripts/postinstall.sh", + "start": "./scripts/legacy/start.sh", + "release": "./scripts/legacy/release.sh", "dist": "./scripts/legacy/dist.sh", - "test": "jest", - "flow": "flow", + "dist:dir": "./scripts/legacy/dist-dir.sh", + "compile": "./scripts/compile.sh", "lint": "eslint src webpack .storybook", - "ci": "yarn lint && yarn flow && yarn prettier", - "postinstall": "./scripts/postinstall.sh", + "flow": "flow", "prettier": "prettier --write \"{src,webpack,.storybook,static/i18n}/**/*.{js,json}\"", - "publish-storybook": "./scripts/legacy/publish-storybook.sh", - "release": "./scripts/legacy/release.sh", - "start": "./scripts/legacy/start.sh", + "ci": "yarn lint && yarn flow && yarn prettier", "storybook": "NODE_ENV=development STORYBOOK_ENV=1 start-storybook -s ./static -p 4444", + "publish-storybook": "./scripts/legacy/publish-storybook.sh", "reset-files": "./scripts/legacy/reset-files.sh" }, "electronWebpack": {