This adds a baseline for the empty module test, and it passes. Unfortunately, because module names are absolute file paths, this baseline file has my machine's specific path embedded in it. I want to lock these in so they are passing as I make progress. Sometime later this morning I'll fix the module naming to be "relative" and more Mu-friendly, and this issue will go away.
30 lines
1.1 KiB
JSON
30 lines
1.1 KiB
JSON
{
|
|
"name": "MuJS",
|
|
"version": "0.0.1",
|
|
"description": "MuJS: An ECMAScript compiler for Mu",
|
|
"repository": "https://github.com/marapongo/mu",
|
|
"author": "Joe Duffy (joeduffy@acm.org)",
|
|
"main": "bin/lib/index.js",
|
|
"typings": "bin/lib/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsc && tslint cmd/*.ts cmd/**/*.ts lib/*.ts lib/**/*.ts tests/*.ts tests/**/*.ts && npm run copytestdata",
|
|
"copytestdata": "find tests/output/* -type d -exec cp -R {} bin/tests/output/ \\;",
|
|
"postinstall": "typings install",
|
|
"test": "npm run cov && npm run covreport",
|
|
"cov": "istanbul cover --print none node_modules/.bin/_mocha -- --recursive --es_staging --timeout 15000 bin/tests/",
|
|
"covreport": "istanbul report text-summary && istanbul report text"
|
|
},
|
|
"dependencies": {
|
|
"@types/minimist": "^1.2.0",
|
|
"@types/node": "^6.0.55",
|
|
"minimist": "^1.2.0",
|
|
"source-map-support": "^0.4.8",
|
|
"typescript": "^2.1.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/mocha": "^2.2.36",
|
|
"istanbul": "^0.4.5",
|
|
"mocha": "^3.2.0",
|
|
"tslint": "^4.2.0"
|
|
}
|
|
}
|