README
How to add more features to this npm library and publish a next npm version?
As usual, you might need to run below command for the first time.
npm i
Start your local demo: http://localhost:3001
npm start
Do some changes in your code and refresh your local demo page: http://localhost:3001
You can also build your demo to a site like this npm run build
, then open /examples/dist/index.html in browser to check it.
Switch to project Home. Please ensure that you have your local site (e.g. http://localhost/qtrade/product/overview) running via node server-simulator
.
Ensure below command is running continuously, so that you can refresh your local site (e.g. http://localhost/qtrade/product/overview) to check the changes you just made in appletree-ui
project without any further operation.
npm run bypass:watch
Once all changes in appletree-ui
project are done, it is time to publish your change. (You might need to do npm config set registry https://registry.npmjs.org/
, then npm login
with credential agileabc/Appletree123/agileabc@sina.com for the first time)
npm version patch
npm publish
Now update third-party dependency appletree-ui to latest version under home
project.
npm i --save-dev appletree-ui