UNPKG

microvium

Version:

A compact, embeddable scripting engine for microcontrollers for executing small scripts written in a subset of JavaScript.

119 lines (118 loc) 4.45 kB
{ "name": "microvium", "private": false, "version": "8.0.0", "description": "A compact, embeddable scripting engine for microcontrollers for executing small scripts written in a subset of JavaScript.", "main": "dist/lib.js", "bin": { "microvium": "dist/cli.js" }, "scripts": { "test:js": "mocha --require source-map-support/register", "test:ts": "ts-node scripts/sync-opcodes.ts && npm run copy-files && mocha --config ts.mocharc.json && npm run copy-files", "build": "ts-node scripts/sync-opcodes.ts && node-gyp build --debug && tsc && ts-node scripts/preprocess-microvium && npm run copy-files", "build:native": "ts-node scripts/sync-opcodes.ts && node-gyp build --debug && ts-node scripts/preprocess-microvium && npm run copy-files", "test": "ts-node scripts/sync-opcodes.ts && npm run copy-files && ts-node scripts/preprocess-microvium && set RUN_LONG_TESTS=1 && node-gyp build --debug && tsc && mocha && npm run copy-files && npm run size-check", "check-for-wip": "ts-node scripts/check-for-wip", "approve": "ts-node scripts/approve", "build-and-deploy": "ts-node scripts/sync-opcodes.ts && npm run check-for-wip && npm run rebuild:release && ts-node scripts/preprocess-microvium && npm run test:ts && npm publish --access=public", "rebuild": "ts-node scripts/sync-opcodes.ts && node-gyp rebuild --debug && tsc && npm run copy-files && ts-node scripts/preprocess-microvium", "rebuild:release": "ts-node scripts/sync-opcodes.ts && node-gyp rebuild --debug && tsc && npm run copy-files && ts-node scripts/preprocess-microvium", "build:watch": "tsc --watch --preserveWatchOutput false", "install": "node-gyp-build", "prepublishOnly": "prebuildify --napi", "update-coverage-markers": "ts-node scripts/update-coverage-markers", "copy-files": "ts-node scripts/sync-opcodes.ts && ts-node scripts/copy-files", "preprocess-microvium": "ts-node scripts/preprocess-microvium", "size-check": "bash ./size-test.sh", "start": "node dist/cli.js" }, "gypfile": true, "repository": { "type": "git", "url": "git+https://github.com/coder-mike/microvium.git" }, "keywords": [ "MCU", "JavaScript", "ECMAScript", "interpreter", "scripting", "microcontroller" ], "author": "Michael Hunter", "license": "MIT", "bugs": { "url": "https://github.com/coder-mike/microvium/issues" }, "pkg": { "assets": [ "node_modules/**/*", "dist/**/*", "dist-c/**/*" ], "targets": [ "node14-win-x64" ] }, "homepage": "https://github.com/coder-mike/microvium#readme", "dependencies": { "@babel/parser": "^7.18.11", "@babel/types": "^7.12.12", "@types/resolve": "^1.14.0", "argparse": "^1.0.10", "bindings": "^1.5.0", "colors": "^1.4.0", "crc": "^3.8.0", "deep-equal": "^2.0.2", "deep-freeze": "0.0.1", "double-ended-queue": "^2.1.0-0", "escape-html": "^1.0.3", "fastpriorityqueue": "^0.6.3", "fs-extra": "^9.0.0", "immutable": "^4.1.0", "inquirer": "^7.3.3", "json-stringify-safe": "^5.0.1", "lodash": "^4.17.20", "minimatch": "^3.0.5", "no-case": "^3.0.3", "node-addon-api": "^5.0.0", "node-gyp-build": "^4.5.0", "resolve": "^1.17.0", "smart-buffer": "^4.1.0", "source-map-support": "^0.5.21", "stringify-structured": "^0.0.3", "to-single-quotes": "^3.0.0", "ws": "^7.2.5" }, "devDependencies": { "@types/argparse": "^1.0.38", "@types/babel-types": "^7.0.11", "@types/chai": "^4.2.9", "@types/crc": "^3.4.0", "@types/deep-equal": "^1.0.1", "@types/deep-freeze": "^0.1.2", "@types/double-ended-queue": "^2.1.1", "@types/escape-html": "0.0.20", "@types/fs-extra": "^8.1.0", "@types/glob": "^7.1.1", "@types/immutable": "^3.8.7", "@types/inquirer": "^9.0.1", "@types/json-stringify-safe": "^5.0.0", "@types/lodash": "^4.14.149", "@types/mocha": "^7.0.1", "@types/node": "^13.13.52", "@types/shelljs": "^0.8.7", "@types/ws": "^7.2.4", "@types/yaml": "^1.2.0", "chai": "^4.2.0", "glob": "^7.1.6", "mocha": "^10.1.0", "node-gyp": "^9.3.1", "prebuildify": "^5.0.1", "shelljs": "^0.8.4", "ts-node": "^8.10.2", "typescript": "^4.8.2", "yaml": "^1.8.3" } }