JumpFm / jumpfm

A file manager that lets you jump.
https://jumpfm.org
273 stars 32 forks source link

Typescript and sass are global dev dependencies #21

Open andruhon opened 6 years ago

andruhon commented 6 years ago

I think it's a good idea to have compatible version of typescript and, probably, node-sass as dev dependencies with appropriate scripts/commands in package.json to make it unnecessary to install any global dependence. This approach will make dev init process easier: npm i, npm run build, npm run electron:

    "devDependencies": {
        ...
        "node-sass": "^4.7.2",
        "typescript": "^2.6.1"
    },
    "scripts": {
        ...
        "build": "tsc && node-sass scss --output css",
        "electron": "electron ."
    }

I can create a pull request if you agree that it's a decent idea.