mercury-lang
Version:
Parser for the mercury live coding language
54 lines (53 loc) • 1.6 kB
JSON
{
"name": "mercury-lang",
"version": "1.11.0",
"description": "Parser for the mercury live coding language",
"main": "index.js",
"scripts": {
"dev-test": "nodemon test/mercury.test.js",
"test": "jest test/**.test.js",
"build": "npm run grammar && npm run graph && npm run clean && npm run bundle && npm run build-es5 && npm run build-min",
"clean": "rm -rf build",
"grammar": "nearleyc grammar/mercury.ne -o src/mercuryGrammar.js",
"graph": "nearley-railroad grammar/mercury.ne -o grammar/mercuryGrammarGraph.html",
"bundle": "mkdir build && browserify --standalone MercuryParser index.js > build/mercury.bundle.js",
"build-es5": "babel build/mercury.bundle.js -o build/mercury.es5.js && rm -rf build/mercury.bundle.js",
"build-min": "terser build/mercury.es5.js -o build/mercury.es5.min.js -c -m --comments false && rm -rf build/mercury.es5.js"
},
"nodemonConfig": {
"verbose": false,
"ignore": [
"test/tree/*"
]
},
"keywords": [
"mercury",
"live",
"coding",
"creative",
"coding",
"algorithmic",
"composition",
"electronic",
"music",
"audiovisual"
],
"author": "Timo Hoogland",
"license": "ISC",
"dependencies": {
"moo": "^0.5.1",
"nearley": "^2.20.1",
"total-serialism": "^2.10.0"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.8",
"@babel/preset-env": "^7.16.11",
"browserify": "^17.0.0",
"fs-extra": "^9.1.0",
"jest": "^29.6.1",
"nodemon": "^2.0.15",
"terser": "^5.12.1",
"uglify-js": "^3.15.3"
}
}