hclang 0.5.8 → 0.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Homiconic C
2
- version: 0.5.8
2
+ version: 0.5.10
3
3
 
4
4
  [![Codeship Status for TheSwanFactory/hclang](https://app.codeship.com/projects/b1198f30-aee9-0137-5fdc-4a1003a17a1c/status?branch=master)](https://app.codeship.com/projects/362584)
5
5
 
@@ -1,3 +1,3 @@
1
1
  // generated by genversion
2
- export const version = '0.5.8';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDBCQUEwQjtBQUMxQixNQUFNLENBQUMsTUFBTSxPQUFPLEdBQUcsT0FBTyxDQUFBIn0=
2
+ export const version = '0.5.10';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDBCQUEwQjtBQUMxQixNQUFNLENBQUMsTUFBTSxPQUFPLEdBQUcsUUFBUSxDQUFBIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hclang",
3
- "version": "0.5.8",
3
+ "version": "0.5.10",
4
4
  "description": "Homoiconic C: Programming without a Language",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -30,8 +30,11 @@
30
30
  "bin": {
31
31
  "hc": "lib/src/cli/hc.js"
32
32
  },
33
- "watch": {
34
- "test": "{src,test}/*.js"
33
+ "mocha": {
34
+ "extension": "ts",
35
+ "loader": "ts-node/esm",
36
+ "recursive": true,
37
+ "trace-warnings": false
35
38
  },
36
39
  "scripts": {
37
40
  "bs:html": "tail +3 -q hc/BitScheme.hc hc/BitScheme-1.hc > doc/BitScheme.adoc && asciidoctor doc/BitScheme.adoc && open doc/BitScheme.html",
@@ -43,12 +46,12 @@
43
46
  "check": "grep -e 'only' -e 'skip' test/*/* || echo 'Ran all tests'",
44
47
  "clean": "rimraf lib dist && rm -f *.log.* src/*.js src/*/*.js test/*.js test/*/*.js",
45
48
  "clean-git": "git branch -D `git branch --merged | grep -v '\\*' | grep -v 'master'`",
46
- "debug": "echo 'Use `debugger;`\n' && mocha --inspect-brk --require ts-node/register --recursive test/**/*-spec.ts",
49
+ "debug": "echo 'Use `debugger;`\n' && npm --inspect-brk ",
47
50
  "done": "npm run clean && npm run bs:all && npm run check && npm run tag && npm install && git commit -am 'update version'",
48
51
  "lint": "eslint --fix \"{src,test}/**/*.ts\"",
49
52
  "hc": "node lib/src/cli/hc.js",
50
- "test": "npm run build && mocha --require ts-node/register test/**/*.*ts",
51
- "test-only": "mocha --require ts-node/register test/**/*.*ts",
53
+ "test": "npm run build && mocha",
54
+ "test-only": "mocha",
52
55
  "tag": "bump patch -ct package*.json README.md src/version.ts",
53
56
  "tag:minor": "bump minor -ct package*.json README.md src/version.ts",
54
57
  "ts": "npx tsc --pretty --inlineSourceMap && chmod a+x ./lib/src/cli/hc.js",