pt icon indicating copy to clipboard operation
pt copied to clipboard

npm scripts for development

Open tofuness opened this issue 8 years ago • 1 comments

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
  }
}

tofuness avatar Nov 03 '16 09:11 tofuness

Interesting. I didn't realize it still requires global gulp even it's in devDependencies. Will fix. Thanks!

williamngan avatar Nov 04 '16 18:11 williamngan