refactor these npm scripts. add pre and post scripts as necessary.
```
  "scripts": {
    "start": "cross-env PORT=3001 react-app-rewired start",
    "clean": "rm -rfv ./node_modules ./build ./storybook-static",
    "clean:install": "npm run clean && npm install",
    "build:app": "react-app-rewired build",
    "local:build": "cross-env CI=false npm run build",
    "test": "react-app-rewired test --env=jsdom",
    "eject": "react-app-rewired eject",
    "start:storybook": "start-storybook -p 6006 -s public",
    "build:storybook": "build-storybook -s public",
    "build": "npm-run-all build",
    "lint:test": "eslint 'src/**/*.ts' 'src/**/*.tsx'",
    "lint:fix": "npm run lint --fix",
    "pipeline": "npm run clean:install && npm run lint:test && npm run build && npm-run-all test"
  },
```