diff --git a/.gitignore b/.gitignore index f5b6c46..31e006e 100644 --- a/.gitignore +++ b/.gitignore @@ -16,8 +16,3 @@ coverage/ # Added by shenanigans-manager for maps testing Maps.test.ts - -# Local development typically uses npm install --link -# Package lock files aren't updated by linked installs -package-lock.json -yarn.lock diff --git a/.travis.yml b/.travis.yml index 08a81ae..b04f7da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,11 @@ +after_script: greenkeeper-lockfile-upload + +before_install: npm i -g greenkeeper-lockfile npm@latest + +before_script: greenkeeper-lockfile-update + +install: npm install + language: node_js node_js: diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..d64a493 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,5 @@ +{ + "name": "menugraphr", + "version": "0.7.9", + "lockfileVersion": 1 +} diff --git a/package.json b/package.json index 4fbdedd..37ce759 100644 --- a/package.json +++ b/package.json @@ -8,18 +8,18 @@ "url": "https://github.com/FullScreenShenanigans/MenuGraphr/issues" }, "dependencies": { - "eightbittr": "^0.7.16" + "eightbittr": "^0.7.17" }, "description": "In-game menu and dialog creation and management for EightBittr.", "devDependencies": { "@types/chai": "^4.1.4", - "@types/lodash": "^4.14.110", - "@types/lolex": "^2.1.2", - "@types/mocha": "^5.2.4", + "@types/lodash": "^4.14.116", + "@types/lolex": "^2.1.3", + "@types/mocha": "^5.2.5", "@types/sinon": "^5.0.1", "@types/sinon-chai": "^3.2.0", "chai": "^4.1.2", - "concurrently": "^3.6.0", + "concurrently": "^3.6.1", "glob": "^7.1.2", "istanbul": "^0.4.5", "lolex": "^2.7.1", @@ -28,16 +28,16 @@ "mocha-headless-chrome": "^2.0.1", "requirejs": "^2.3.5", "run-for-every-file": "^1.1.0", - "shenanigans-manager": "^0.2.31", - "sinon": "^6.1.3", + "shenanigans-manager": "^0.2.32", + "sinon": "^6.1.5", "sinon-chai": "^3.2.0", - "tslint": "5.10.0", + "tslint": "5.11.0", "tsutils": "^3.0.0", "typedoc": "^0.11.1", - "typescript": "^2.9.2", + "typescript": "^3.0.1", "watch": "^1.0.2", - "webpack": "^4.15.1", - "webpack-cli": "^3.0.8" + "webpack": "^4.16.5", + "webpack-cli": "^3.1.0" }, "license": "MIT", "name": "menugraphr", @@ -60,6 +60,7 @@ "src": "npm run src:tsc && npm run src:tslint", "src:tsc": "tsc -p .", "src:tslint": "tslint -c tslint.json -p tsconfig.json -t stylish", + "src:tslint:fix": "tslint -c tslint.json --fix -p tsconfig.json -t stylish", "test": "npm run test:setup && npm run test:run", "test:coverage": "npm run test:coverage:generate-html && npm run test:coverage:instrument && npm run test:coverage:run && npm run test:coverage:report", "test:coverage:generate-html": "shenanigans-manager generate-test-html --source instrumented", diff --git a/tsconfig.json b/tsconfig.json index 05493e5..d169675 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,15 +4,18 @@ "experimentalDecorators": true, "forceConsistentCasingInFileNames": true, "jsx": "react", - "lib": ["dom", "es2015.collection", "es2015.promise", "es5"], + "lib": ["dom", "es2015"], "module": "amd", "moduleResolution": "node", + "noFallthroughCasesInSwitch": true, "noImplicitAny": true, "noImplicitReturns": true, "noImplicitThis": true, - "noFallthroughCasesInSwitch": true, + "noUnusedLocals": true, + "noUnusedParameters": true, "pretty": true, - "strictNullChecks": true, + "strict": true, + "strictPropertyInitialization": false, "target": "es5" }, "exclude": [