Skip to content

Commit

Permalink
Revert back to 1.2.1.
Browse files Browse the repository at this point in the history
This reverts commit 8936f7e.
  • Loading branch information
dankogai committed Jul 27, 2020
1 parent bc925a1 commit 64d2a49
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 23 deletions.
7 changes: 0 additions & 7 deletions .babelrc

This file was deleted.

2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
language: node_js
node_js:
- "node"
- "12"
- "10"
9 changes: 4 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
PJ=package.json
TS=combinatorics.ts
JS=combinatorics.js
MJS=combinatorics.mjs
DTS=combinatorics.d.ts

all: $(PJ) $(JS)
all: $(JS)

$(JS): $(PJ) $(TS)
$(JS): $(TS)
tsc -d --target es6 $(TS)

test: $(PJ) $(JS)
mocha --require @babel/register
test: $(JS)
mocha --require esm

clean:
-rm $(DTS) $(MJS) $(JS)
6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "js-combinatorics",
"version": "1.2.1",
"type" : "module",
"description": "Simple combinatorics like power set, combination, and permutation in JavaScript",
"main": "combinatorics.js",
"module": "combinatorics.js",
Expand All @@ -14,11 +13,6 @@
"devDependencies": {
"typescript": "^3.9.7",
"@types/node": "^14.0.26",
"@babel/core": "^7.10.4",
"@babel/plugin-proposal-export-namespace-from": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/register": "^7.10.4",
"mocha": "^8.0.0",
"chai": "^4.2.0"
},
Expand Down
4 changes: 1 addition & 3 deletions test/00-node.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
// global.chai = require('chai');
import chai from 'chai';
global.chai = chai;
global.chai = require('chai');
global.isLegacySafari = false;

0 comments on commit 64d2a49

Please sign in to comment.