/WebsitePlayground

Play with nodejs

Primary LanguageJavaScriptApache License 2.0Apache-2.0

WebsitePlayground

Play with nodejs

Building

  • Download npm with nodejs
  • Download yarn
  • Run following commands in cmd
    • I don't know why Powershell cannot find npm and yarn.
yarn
yarn build
yarn test
yarn deploy

starter-packages folder

  • Copy any package to package folder to create a new package.
  • Change folder name and name in package.json.

starter-jest

A TypeScript package with unit test in jest.

starter-http-server

An http server. npm run start and browse http://127.0.0.1:8080.

starter-lit-html

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.

starter-website-scraper

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.