flow switch to module.exports

This commit is contained in:
SheetJS 2018-04-21 10:09:47 -04:00
parent 13f8e4f8f4
commit 238dc0e647
3 changed files with 10 additions and 9 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
node_modules
*.tgz
test_files/*.py
test_files/*.js
test_files/baseline*

View File

@ -3,8 +3,8 @@ type _CB = {(data:Buffer):void;};
declare module 'concat-stream' {declare function exports(f:_CB):stream$Duplex;};
declare module 'exit-on-epipe' {};
declare module 'crc-32' { declare var exports:CRC32Module; };
declare module '../' { declare var exports:CRC32Module; };
declare module 'crc-32' { declare module.exports:CRC32Module; };
declare module '../' { declare module.exports:CRC32Module; };
declare module 'printj' {
declare function sprintf(fmt:string, ...args:any):string;

View File

@ -10,19 +10,19 @@
"main": "./crc32",
"types": "types",
"dependencies": {
"printj":"~1.1.0",
"exit-on-epipe":"~1.0.1"
"printj": "~1.1.0",
"exit-on-epipe": "~1.0.1"
},
"devDependencies": {
"mocha":"~2.5.3",
"mocha": "~2.5.3",
"blanket": "~1.2.3",
"codepage":"~1.10.0",
"@sheetjs/uglify-js":"~2.7.3",
"@types/node":"^8.0.7",
"codepage": "~1.10.0",
"@sheetjs/uglify-js": "~2.7.3",
"@types/node": "^8.0.7",
"dtslint": "^0.1.2",
"typescript": "2.2.0"
},
"repository": { "type":"git", "url":"git://github.com/SheetJS/js-crc32.git" },
"repository": { "type": "git", "url": "git://github.com/SheetJS/js-crc32.git" },
"scripts": {
"test": "make test",
"build": "make",