pt
pt copied to clipboard
npm scripts for development
Compiling pt currently requires a global installation of gulp. I think it can be worth introducing some npm scripts to avoid having to install gulp globally.
Example (package.json
):
{
name: "ptjs",
...
"scripts": {
"gulp:watch": "gulp" <-- uses the local gulp dependency
}
}
Interesting. I didn't realize it still requires global gulp even it's in devDependencies. Will fix. Thanks!