You've already forked FullScreenPokemon
mirror of
https://github.com/FullScreenShenanigans/FullScreenPokemon.git
synced 2026-04-28 12:58:40 -07:00
shenanigans-manager@0.2.24
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"extends": "stylelint-config-recommended-scss"
|
||||
"extends": "stylelint-config-recommended"
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ npm run test
|
||||
```
|
||||
|
||||
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`.
|
||||
Whenever you add, remove, or rename a `*.test.t*` file under `src/`, `watch` will 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).
|
||||
`npm run test:run` will run that setup and execute tests using [Puppeteer](https://github.com/GoogleChrome/puppeteer).
|
||||
<!-- {{/Development}} -->
|
||||
|
||||
+13
-11
@@ -26,30 +26,32 @@
|
||||
"@types/mocha": "^2.2.48",
|
||||
"@types/react": "^16.0.31",
|
||||
"@types/react-dom": "^16.0.3",
|
||||
"@types/sinon": "^4.1.3",
|
||||
"@types/sinon": "^4.3.0",
|
||||
"@types/sinon-chai": "^2.7.29",
|
||||
"chai": "^4.1.2",
|
||||
"concurrently": "^3.5.1",
|
||||
"glob": "^7.1.2",
|
||||
"lolex": "^2.3.2",
|
||||
"mkdirp": "^0.5.1",
|
||||
"mocha": "^5.0.0",
|
||||
"mocha": "^5.0.1",
|
||||
"mocha-headless-chrome": "^1.8.2",
|
||||
"node-sass": "^4.7.2",
|
||||
"requirejs": "^2.3.5",
|
||||
"run-for-every-file": "^1.1.0",
|
||||
"shenanigans-manager": "^0.2.23",
|
||||
"sinon": "^4.2.2",
|
||||
"shenanigans-manager": "^0.2.24",
|
||||
"sinon": "^4.4.2",
|
||||
"sinon-chai": "^2.14.0",
|
||||
"stylelint": "^9.0.0",
|
||||
"stylelint": "^9.1.1",
|
||||
"stylelint-config-recommended": "^v2.1.0",
|
||||
"stylelint-config-recommended-scss": "^3.0.0",
|
||||
"stylelint-scss": "^2.2.0",
|
||||
"tslint": "5.9.1",
|
||||
"tsutils": "^2.21.0",
|
||||
"tsutils": "^2.22.1",
|
||||
"typedoc": "^0.10.0",
|
||||
"typescript": "^2.7.1",
|
||||
"typescript": "^2.7.2",
|
||||
"watch": "^1.0.2",
|
||||
"webpack": "^3.10.0"
|
||||
"webpack": "^4.0.1",
|
||||
"webpack-cli": "^2.0.10"
|
||||
},
|
||||
"license": "MIT",
|
||||
"name": "fullscreenpokemon",
|
||||
@@ -71,9 +73,9 @@
|
||||
"setup:copy:web": "run-for-every-file --dot --src \"node_modules/shenanigans-manager/setup/web/\" --file \"**/*\" --run \"shenanigans-manager mustache --input {{src-file}} --output {{file}}\" --dest \".\" --only-files",
|
||||
"setup:package": "shenanigans-manager hydrate-package-json",
|
||||
"setup:readme": "shenanigans-manager hydrate-readme",
|
||||
"src": "npm run src:tsc && npm run src:tslint && npm run src:scss && npm run src:stylelint",
|
||||
"src": "npm run src:tsc && npm run src:tslint && npm run src:stylelint",
|
||||
"src:scss": "node-sass --recursive src --output src",
|
||||
"src:stylelint": "stylelint src/**/*.scss",
|
||||
"src:stylelint": "stylelint src/**/*.css",
|
||||
"src:tsc": "tsc -p .",
|
||||
"src:tslint": "tslint -c tslint.json -p tsconfig.json -t stylish",
|
||||
"test": "npm run test:setup && npm run test:run",
|
||||
@@ -145,4 +147,4 @@
|
||||
},
|
||||
"types": "./src/index.d.ts",
|
||||
"version": "0.7.1"
|
||||
}
|
||||
}
|
||||
@@ -1,91 +0,0 @@
|
||||
/* General elements */
|
||||
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
background: black;
|
||||
color: #fafafa;
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
header {
|
||||
height: 49px;
|
||||
overflow: hidden;
|
||||
-ms-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
section {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
a {
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
padding-bottom: 3px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
/* General animations */
|
||||
|
||||
.hoverable {
|
||||
opacity: .84;
|
||||
transition: 140ms opacity;
|
||||
}
|
||||
|
||||
.hoverable:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Game section */
|
||||
|
||||
section#game {
|
||||
min-height: 210px;
|
||||
margin-bottom: 35px;
|
||||
}
|
||||
|
||||
|
||||
/* Text sections */
|
||||
|
||||
section.section-text {
|
||||
margin: auto;
|
||||
padding: 21px 70px;
|
||||
max-width: 910px;
|
||||
font-size: 1.4em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.link-github {
|
||||
color: #cfc;
|
||||
}
|
||||
|
||||
@media(max-width: 350px) {
|
||||
section.section-text {
|
||||
padding: 14px 7px;
|
||||
}
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Press Start";
|
||||
src:
|
||||
url("theme/fonts/pressstart2p-webfont.eot?#iefix") format("embedded-opentype"),
|
||||
url("theme/fonts/pressstart2p-webfont.woff") format("woff"),
|
||||
url("theme/fonts/pressstart2p-webfont.ttf") format("truetype"),
|
||||
url("theme/fonts/pressstart2p-webfont.svg") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
+4
-4
@@ -9,10 +9,6 @@ const getEntriesAndSources = () => {
|
||||
{
|
||||
entry: `./src/index.js`,
|
||||
name: package.shenanigans.name,
|
||||
sources: [
|
||||
"./**/*.js",
|
||||
"!./**/*.test.js",
|
||||
]
|
||||
}
|
||||
]
|
||||
: package.shenanigans.entries;
|
||||
@@ -44,9 +40,13 @@ for (const pair of entriesAndSources) {
|
||||
module.exports = {
|
||||
entry,
|
||||
externals,
|
||||
mode: "production",
|
||||
output: {
|
||||
filename: "[name].js",
|
||||
libraryTarget: "amd",
|
||||
path: path.join(__dirname, "dist"),
|
||||
},
|
||||
performance: {
|
||||
hints: false
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user