This website requires JavaScript.
Explore
Help
Sign In
status-im
/
sourcecred
mirror of
https://github.com/status-im/sourcecred.git
Watch
2
Star
0
Fork
You've already forked sourcecred
0
Code
Issues
Projects
Releases
Wiki
Activity
28a118c814
sourcecred
/
.prettierignore
4 lines
21 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Configure Webpack for backend applications (#84) Summary: Running `yarn backend` will now bundle backend applications. They’ll be placed into the new `bin/` directory. This enables us to use ES6 modules with the standard syntax, Flow types, and all the other goodies that we’ve come to expect. A backend build takes about 2.5s on my laptop. Created by forking the prod configuration to a backend configuration and trimming it down appropriately. To test out the new changes, this commit changes `fetchGitHubRepo` and its driver to use the ES6 module system and Flow types, both of which are properly resolved. Test Plan: Run `yarn backend`. Then, you can directly run an entry point via ``` $ node bin/fetchAndPrintGitHubRepo.js sourcecred example-repo "${TOKEN}" ``` or invoke the standard test driver via ```shell $ GITHUB_TOKEN="${TOKEN}" src/backend/fetchGitHubRepoTest.sh ``` where `${TOKEN}` is your GitHub authentication token. wchargin-branch: webpack-backend
2018-03-19 05:43:23 +00:00
bin
Don't run prettify on build (#92) Running prettify on build takes a whole second!
2018-03-20 18:46:30 +00:00
build
Set up prettier as an autoformatter (#18) Setup prettier precommit, with yarn prettify to reformat. - Prettier runs as a precommit hook and fails if code is improperly formatted. - Run `yarn prettify` to reformat the project.
2018-02-18 09:59:28 +00:00
flow-typed