Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced Gulp with shenanigans-manager@0.2 #528

Merged
merged 7 commits into from Dec 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 11 additions & 8 deletions .gitignore
@@ -1,15 +1,18 @@
dist/**
docs/generated/**
lib/**
test/*.ts
test/index.html
test/utils/MochaLoader.ts
dist/
docs/generated/
test/
node_modules/
*.css
*.d.ts
*.js*
!./*.js
!*.json
!gulpfile.js
*.html
node_modules/
Maps.test.ts
npm-debug.log
debug.log

# Local development typically uses npm install --link
# Package lock files aren't updated by linked installs
package-lock.json
yarn.lock
3 changes: 2 additions & 1 deletion .npmignore
@@ -1,3 +1,4 @@
node_modules/
test/**/*
test/
*.test.*
npm-debug.log
3 changes: 3 additions & 0 deletions .stylelintrc
@@ -0,0 +1,3 @@
{
"extends": "stylelint-config-recommended-scss"
}
4 changes: 2 additions & 2 deletions .travis.yml
@@ -1,8 +1,8 @@
language: node_js

node_js:
- "node"
- "7"
- "5"

script:
node_modules/gulp/bin/gulp.js
npm run verify
6 changes: 5 additions & 1 deletion .vscode/settings.json
@@ -1,3 +1,7 @@
{
"typescript.tsdk": "node_modules\\typescript\\lib"
"editor.tabSize": 4,
"editor.trimAutoWhitespace": true,
"tslint.alwaysShowRuleFailuresAsWarnings": true,
"tslint.autoFixOnSave": true,
"typescript.tsdk": "node_modules/typescript/lib"
}
32 changes: 30 additions & 2 deletions README.md
@@ -1,5 +1,6 @@
<!-- {{Top}} -->
# FullScreenPokemon
[![Greenkeeper badge](https://badges.greenkeeper.io/FullScreenShenanigans/FullScreenPokemon.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/FullScreenShenanigans/FullScreenPokemon.svg?branch=master)](https://travis-ci.org/FullScreenShenanigans/FullScreenPokemon)
[![NPM version](https://badge.fury.io/js/fullscreenpokemon.svg)](http://badge.fury.io/js/fullscreenpokemon)

Expand Down Expand Up @@ -35,7 +36,34 @@ document.body.appendChild(fsp.canvas);
<!-- {{Development}} -->
## Development

See [Documentation/Development](https://github.com/FullScreenShenanigans/Documentation).
```
git clone https://github.com/FullScreenShenanigans/FullScreenPokemon
cd FullScreenPokemon
npm run setup
npm run verify
```

* `npm run setup` creates a few auto-generated setup files locally.
* `npm run verify` builds, lints, and runs tests.

### Building

```shell
npm run watch
```

Source files are written under `src/` in TypeScript and compile in-place to JavaScript files.
`npm run watch` will directly run the TypeScript compiler on source files in watch mode.
Use it in the background while developing to keep the compiled files up-to-date.

### Running Tests

```shell
npm run test
```

After setting up and building locally, open `src/index.html` to launch.
Test files are alongside source files under `src/` and named `*.test.ts?`.
Whenever you add, remove, or rename a `*.test.ts?` file under `src/`, re-run `npm run test:setup` to regenerate the list of static test files in `test/index.html`.
You can open that file in a browser to debug through the tests.
`npm run test` will run that setup and execute tests using [Puppeteer](https://github.com/GoogleChrome/puppeteer).
<!-- {{/Development}} -->
2 changes: 1 addition & 1 deletion docs/pokemonCreation.md
Expand Up @@ -57,7 +57,7 @@ const options: IWildPokemonSchema[] = [
remaining: FSP.constants.moves.Ember.pp,
uses: FSP.constants.moves.Ember.pp
}],
rate: .25
rate: 0.25
},
{
title: "Squirtle".split(""),
Expand Down
1 change: 0 additions & 1 deletion gulpfile.js

This file was deleted.