The purpose of this service is provide ツイッター観察板@2ch watcher, and UX experiment of search query building UI.
Requires Node.js v8.2.0 or later
- TypeScript 2.5.x
- React.js 16.x
- CSSNext
- Pug
- Karma.js (with Chrome Headless)
- Mocha.js
- Power Assert
- Sinon.js
Move to root directory of this project and run npm install
at first.
npm start
- Start building and watching
src/*
- Open
http://localhost:3333
- Start building and watching
npm run testing
- Start testing and watching
src/scripts/*
- Start testing and watching
npm run build
- Build sorce code with production mode
src/
: Main directory for developmentserver/
: Mock serverpublic/
: Destination directory to output converted files.
src/scripts/
app/
: Product codes hereentries/
: Entry files to transpilecomponents/
: React componentsstores/
: modules for state managementlib/
: common utilities
test/
: Unit test code named with*.test.ts*
. Its structure should be same assrc/scripts/app/
types/
: Declaration files. Its structure should be same assrc/scripts/app/
src/styles/
commons/
: General styles. (ex. variables.css, reset.css, etc.)modules/
: Component specific styles. (ex. modal.css, header.css, etc.)pages/
: Entry files to transpile.
index.js
: Server script.data/
: JSON files as storage of API.views/
: Template files for server.