Play with nodejs
- Download npm with nodejs
- Download yarn
- Run following commands in cmd
- I don't know why Powershell cannot find
npm
andyarn
.
- I don't know why Powershell cannot find
yarn
yarn build
yarn test
yarn deploy
- Copy any package to
package
folder to create a new package. - Change folder name and
name
inpackage.json
.
A TypeScript package with unit test in jest.
An http server.
npm run start
and browse http://127.0.0.1:8080
.
An HTML page using lit-html
as a browser side template.
After yarn deploy
, you are able to use IIS to run starter-packages/starter-lit-html/lib/dist
.
Download a website to a local folder.
npm run start
to download http://127.0.0.1:8080
to starter-packages/starter-website-scraper/lib/dist
.