Comparing version
const dasm = require("./lib/dasm.js"); | ||
function print(s) { | ||
console.log("[DASM] ", s); | ||
// console.log("[DASM] ", s); | ||
} | ||
function printErr(s) { | ||
console.error("[DASM] ", s); | ||
// console.error("[DASM] ", s); | ||
} | ||
function preRun() { | ||
// console.log("[TEST] [PRE RUN]"); | ||
// console.log("[TEST] [PRE RUN]"); | ||
} | ||
@@ -13,0 +13,0 @@ |
{ | ||
"name": "dasm", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "An emscripten-compiled version of the dasm macro assembler", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "mocha test/.setup.js test/**/*-test-*.js", | ||
"test:watch": "mocha -w test/.setup.js test/**/*-test-*.js" | ||
}, | ||
@@ -26,3 +27,15 @@ "repository": { | ||
}, | ||
"homepage": "https://github.com/zeh/dasmjs#readme" | ||
"homepage": "https://github.com/zeh/dasmjs#readme", | ||
"babel": { | ||
"presets": [ | ||
"es2015" | ||
] | ||
}, | ||
"devDependencies": { | ||
"babel-core": "^6.21.0", | ||
"babel-preset-es2015": "^6.18.0", | ||
"chai": "^3.5.0", | ||
"core-js": "^2.4.1", | ||
"mocha": "^3.2.0" | ||
} | ||
} |
@@ -71,3 +71,3 @@ # The dasm macro assembler (for JavaScript) | ||
```JavaScript | ||
import * as dasm from "dasm"; | ||
import dasm from "dasm"; | ||
@@ -96,2 +96,3 @@ // Read utf-8 assembly source | ||
* Real tests with CI | ||
* Include machine target files (vcs.h, atari.h, channel f, etc) | ||
* Command-line package (`dasm-cli`) | ||
@@ -98,0 +99,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
0
-100%102
0.99%767735
-0.32%5
Infinity%