ondras / primitive.js

JS port of primitive.lol
https://ondras.github.io/primitive.js/
MIT License
777 stars 81 forks source link

post scripts in npm #4

Open darlanmendonca opened 7 years ago

darlanmendonca commented 7 years ago

I suggest use npm post scripts, to turn more easy run scripts.

Instead write this in readme.md

Written in client-side JavaScript, uses Rollup for JS bundling and LESS for CSS pre-processing

  1. git clone git@github.com:ondras/primitive.js.git
  2. npm install
  3. npm run css
  4. npm run js

I suggest

Written in client-side JavaScript, uses Rollup for JS bundling and LESS for CSS pre-processing

  1. git clone git@github.com:ondras/primitive.js.git
  2. npm install
  3. npm start

What you think? If you like, I do a PR

ondras commented 7 years ago

What you think? If you like, I do a PR

Why not? :)

Also, I will be on a vacation for a week. So please excuse my delayed replies :)

darlanmendonca commented 7 years ago

sure, when you can :D

I will do a PR, to implement this approach now, and mention here to you see

darlanmendonca commented 7 years ago

here https://github.com/ondras/primitive.js/pull/5