walt-compiler
Version:
Alternative syntax for WebAssembly text format
133 lines (132 loc) • 3.89 kB
JSON
{
"name": "walt-compiler",
"version": "0.21.0",
"description": "Alternative syntax for WebAssembly text format",
"main": "dist/walt.js",
"scripts": {
"test": "cross-env NODE_ENV=production npm run _test",
"_test": "nyc --cache ava --no-color --no-power-assert",
"validate": "npm run prettier && npm run lint && npm run flow",
"tdd": "cross-env NODE_ENV=development npm run _tdd --",
"_tdd": "ava",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"coverage-local": "nyc report --reporter=html",
"debug": "node --inspect-brk node_modules/ava/profile.js",
"debug-container": "node --inspect-brk=\"$(hostname -I | xargs)\" node_modules/ava/profile.js",
"build": "cross-env NODE_ENV=development node_modules/rollup/bin/rollup -c rollup.config.js",
"build-prod": "cross-env NODE_ENV=production node_modules/rollup/bin/rollup -c rollup.config.js",
"flow": "flow",
"lint": "eslint src",
"prettier": "prettier --list-different src/**/*.js",
"precommit": "lint-staged",
"preversion": "npm run build && npm run build-prod",
"nyc": "nyc",
"nearleyc": "nearleyc",
"grammar": "npm run nearleyc -- src/parser/grammar/grammar.ne -o src/parser/grammar/grammar.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ballercat/walt.git"
},
"keywords": [
"wasm",
"wast",
"javascript",
"webassembly",
"compiler"
],
"author": "Arthur Buldauskas",
"license": "MIT",
"bugs": {
"url": "https://github.com/ballercat/walt/issues"
},
"homepage": "https://github.com/ballercat/walt#readme",
"dependencies": {
"curry": "1.2.0",
"invariant": "2.2.2",
"moo": "^0.4.3",
"nearley": "^2.15.1",
"walt-parser-tools": "^0.2.8",
"walt-syntax": "^0.7.0",
"wasm-types": "1.0.3"
},
"devDependencies": {
"ava": "0.24.0",
"babel-cli": "6.26.0",
"babel-eslint": "^8.1.1",
"babel-plugin-external-helpers": "6.22.0",
"babel-plugin-minify-dead-code-elimination": "^0.5.0",
"babel-plugin-transform-node-env-inline": "^0.4.3",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-plugin-transform-runtime": "6.23.0",
"babel-preset-env": "1.6.0",
"babel-preset-flow": "6.23.0",
"babel-register": "^6.26.0",
"coveralls": "3.0.0",
"cross-env": "5.1.3",
"eslint": "^5.0.0",
"eslint-plugin-flowtype": "2.46.1",
"flow-bin": "0.66.0",
"husky": "0.14.3",
"lint-staged": "6.0.0",
"nyc": "11.1.0",
"pirates": "^3.0.2",
"prettier": "1.9.2",
"rollup": "0.52.2",
"rollup-plugin-babel": "3.0.2",
"rollup-plugin-commonjs": "8.0.2",
"rollup-plugin-eslint": "4.0.0",
"rollup-plugin-flow": "1.1.1",
"rollup-plugin-node-builtins": "2.1.2",
"rollup-plugin-node-resolve": "3.0.0",
"rollup-plugin-replace": "2.0.0",
"rollup-plugin-string": "^2.0.2",
"rollup-plugin-uglify": "2.0.1",
"rollup-plugin-walt-grammar": "^0.1.1",
"tap-nyc": "1.0.3",
"uglify-es": "3.0.17",
"walt-buildtools": "^0.1.1"
},
"prettier": {
"trailingComma": "es5",
"singleQuote": true
},
"ava": {
"files": [
"src/**/*[sS]pec.js",
"!**/utils.js"
],
"source": [
"src/**/*.js",
"src/**/*.walt",
"src/**/*.ne",
"syntax/**/*.walt"
],
"failFast": true,
"failWithoutAssertions": false,
"tap": false,
"powerAssert": false,
"require": [
"../../_register.js"
],
"babel": "inherit"
},
"lint-staged": {
"src/**/*.js": [
"prettier --write",
"git add"
]
},
"nyc": {
"cache": true,
"exclude": [
"src/**/print-node.js",
"src/**/test-utils.js",
"src/**/__tests__/*.js",
"src/**/grammar.js",
"src/parser/grammar/generator.js",
"src/parser/grammar/helpers.js",
"dist/*.js"
]
}
}