-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup Travis, add build script, init contributing docs (#45)
* Add Travis * Add yarn.lock * Temporarily disable Node 6 in Travis * Add contributing docs * Add build script
- Loading branch information
1 parent
67cd3b0
commit 90f69ff
Showing
5 changed files
with
5,193 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
node_modules/ | ||
.DS_Store | ||
yarn.lock | ||
package-lock.json | ||
test/dist | ||
test/input | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
language: node_js | ||
node_js: | ||
# TODO: Run Babel on tests so that async-await works in Node 6 | ||
# - '6' | ||
- '8' | ||
cache: yarn | ||
script: yarn test | ||
sudo: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Contributing | ||
|
||
## Overview | ||
|
||
* `yarn install` - install all dependencies | ||
* `yarn build` - run src/ through [babel] into lib/ | ||
* `yarn test` - run all tests in repo | ||
* `yarn format` - run [prettier] on all files | ||
|
||
## Getting Started | ||
|
||
To get started with the project: | ||
|
||
You'll need [Git], [Node], and [Yarn] installed. Then clone the repository: | ||
|
||
```js | ||
git clone git@github.com:parcel-bundler/parcel.git && cd parcel | ||
``` | ||
|
||
Run Yarn: | ||
|
||
```js | ||
yarn install | ||
``` | ||
|
||
Run tests: | ||
|
||
```js | ||
yarn test | ||
``` | ||
|
||
[babel]: http://babeljs.io/ | ||
[prettier]: https://prettier.io/ | ||
[git]: https://git-scm.com/ | ||
[node]: https://nodejs.org/ | ||
[yarn]: https://yarnpkg.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.