Comparing version 1.0.5 to 1.0.6
@@ -1,1 +0,2 @@ | ||
export {}; | ||
import { Nerdata } from './src'; | ||
export { Nerdata }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const Nerdata_1 = require("./Nerdata"); | ||
module.exports = Nerdata_1.Nerdata; | ||
exports.Nerdata = void 0; | ||
const src_1 = require("./src"); | ||
Object.defineProperty(exports, "Nerdata", { enumerable: true, get: function () { return src_1.Nerdata; } }); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "nerdata", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "testdata for the fantasy/scifi enthusiast", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"compile": "tsc --declaration && bash generate_flow_types.sh", | ||
"check-flow": "flow lib", | ||
"check-flow": "flow", | ||
"compile": "npm run compile-ts && npm run generate-flow-types", | ||
"compile-ts": "tsc --declaration", | ||
"generate-flow-types": "bash generate_flow_types.sh && node replace_flow_headers.js", | ||
"lint": "tslint -p . --fix", | ||
@@ -42,6 +44,6 @@ "test": "mocha --timeout=10000 test/*.test.ts test/**/*.test.ts --require ts-node/register --recursive --prof --ui tdd --throw-deprecation" | ||
"sinon": "7.1.1", | ||
"ts-node": "7.0.1", | ||
"tslint": "5.11.0", | ||
"typescript": "3.1.6" | ||
"ts-node": "^9.1.1", | ||
"tslint": "^6.1.3", | ||
"typescript": "^4.1.3" | ||
} | ||
} |
@@ -110,3 +110,3 @@ # nerdata | ||
To build, run `npm run compile`. This first compiles the Typescript code and then auto-generates Flow definitions. The Flow generator makes mistakes, so you'll need to do some manual edits to all the `.flow.js` files in `lib/`. Bonus points for anyone who cleans this up so it's all done smoothly and automatically! | ||
To build, run `npm run compile`. This first compiles the Typescript code and then auto-generates Flow definitions. Some magic is done here to add `// @flow`, and the generator can make mistakes, so be sure to run `npm run check-flow` to be sure everything worked. | ||
@@ -113,0 +113,0 @@ ## CONTRIBUTING |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1
58046
58
1546