Source files go in /src, temporary development files go in /build, final production bundle goes in /lib. Development server is located in /server.
NVM is a great library that allows you to switch between different versions/installs of NPM. We are developing on Node 7.x.
npm link
will link Arctype to your node_modules, allowing you to import it as a module from another repository.
Stylelint for SASS, ESLint for Javascript. Both have packages for a variety of IDEs. At some point, we will add precommit hooks for our linting to pass.
npm run build
- Compiles src code into a distributable bundle in /lib.npm run start
- Starts up development server on localhost:3000.npm run lint
- Lints all scss and js files.npm run test
- Runs all tests in /test.