Parcel + Typescript + React/Preact + Router + CSS Modules + SASS + Jest + Api-Now + Github Actions CI
Parcel + Typescript + React/Preact + Router + CSS Modules + SASS + Jest + Api-Now + Github Actions CI
And more:
Clone this project:
git clone https://github.com/ngduc/parcelui.git your-app
cd your-app
rm -rf .git
yarn
package.json
with your information.yarn dev
then open http://localhost:1234/
yarn mock-api launch mock API Server using https://github.com/ngduc/api-now
yarn dev launch DEV mode takes 1.4s (tsc watch, parcel & mock-api)
yarn test:watch run jest --watch (auto run test files)
yarn build build for PROD to static directory ./dist
yarn serve serve static built dir "./dist" using api-now (or any web server)
Recommend: