Skip to content

Commit

Permalink
flow switch to module.exports
Browse files Browse the repository at this point in the history
  • Loading branch information
SheetJSDev committed Apr 21, 2018
1 parent d750710 commit bbb21eb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
*.tgz
test_files/*.py
test_files/*.js
test_files/baseline*
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ clean: clean-baseline ## Remove targets and build artifacts

.PHONY: test mocha
test mocha: test.js $(TARGET) baseline ## Run test suite
mocha -R spec -t 30000
mocha -R spec -t 60000

.PHONY: ctest
ctest: ## Build browser test (into ctest/ subdirectory)
Expand Down
4 changes: 2 additions & 2 deletions misc/flowdeps.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 'adler-32' { declare var exports:ADLER32Module; };
declare module '../' { declare var exports:ADLER32Module; };
declare module 'adler-32' { declare module.exports:ADLER32Module; };
declare module '../' { declare module.exports:ADLER32Module; };
declare module 'printj' {
declare function sprintf(fmt:string, ...args:any):string;
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@
"main": "./adler32",
"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-adler32.git" },
"repository": { "type": "git", "url": "git://github.com/SheetJS/js-adler32.git" },
"scripts": {
"test": "make test",
"build": "make",
Expand Down

0 comments on commit bbb21eb

Please sign in to comment.