mirror of
https://github.com/FullScreenShenanigans/StateHoldr.git
synced 2026-08-12 02:18:37 -07:00
shenanigans-manager@0.2.24
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
[](https://travis-ci.org/FullScreenShenanigans/StateHoldr)
|
||||
[](http://badge.fury.io/js/stateholdr)
|
||||
|
||||
Stores and retrieves persistent changes to collections of objects.
|
||||
General localStorage saving for collections of state.
|
||||
<!-- {{/Top}} -->
|
||||
|
||||
## Usage
|
||||
@@ -196,7 +196,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}} -->
|
||||
|
||||
+8
-7
@@ -16,26 +16,27 @@
|
||||
"@types/lodash": "^4.14.99",
|
||||
"@types/lolex": "^2.1.1",
|
||||
"@types/mocha": "^2.2.48",
|
||||
"@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",
|
||||
"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",
|
||||
"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": "stateholdr",
|
||||
|
||||
+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