UNPKG

@accordproject/concerto-cto

Version:
82 lines (81 loc) 2.19 kB
{ "name": "@accordproject/concerto-cto", "version": "3.22.0", "description": "Parser for Concerto CTO files", "homepage": "https://github.com/accordproject/concerto", "engines": { "node": ">=18", "npm": ">=10" }, "main": "index.js", "browser": "dist/concerto-cto.js", "typings": "types/index.d.ts", "scripts": { "prepublishOnly": "npm run webpack", "parser": "peggy -o lib/parser.js lib/parser.pegjs", "pretest": "npm run lint && npm run parser && npm run doc", "lint": "eslint .", "doc": "jsdoc --pedantic --recurse -c jsdoc.json", "test": "nyc mocha --recursive -t 10000", "test:watch": "nyc mocha --watch --recursive -t 10000", "mocha": "mocha --recursive -t 10000", "nyc": "nyc mocha --recursive -t 10000", "build": "npm run parser && npm run build:types", "build:types": "tsc index.js --declaration --allowJs --emitDeclarationOnly --outDir types", "postbuild": "npm run webpack", "webpack": "webpack --config webpack.config.js --mode production" }, "repository": { "type": "git", "url": "https://github.com/accordproject/concerto.git", "directory": "packages/concerto-cto" }, "keywords": [ "blockchain", "hyperledger", "solutions" ], "author": "accordproject.org", "license": "Apache-2.0", "devDependencies": { "chai": "4.3.6", "chai-as-promised": "7.1.1", "chai-things": "0.2.0", "debug": "4.3.7", "eslint": "8.57.1", "jsdoc": "^4.0.4", "mocha": "10.8.2", "node-polyfill-webpack-plugin": "4.0.0", "nyc": "17.1.0", "peggy": "4.2.0", "sinon": "19.0.2", "typescript": "5.7.2" }, "dependencies": { "@accordproject/concerto-metamodel": "3.11.0", "@accordproject/concerto-util": "3.22.0" }, "browserslist": "> 0.25%, not dead", "nyc": { "produce-source-map": "true", "sourceMap": "inline", "reporter": [ "lcov", "text-summary", "html", "json" ], "include": [ "lib/**/*.js" ], "exclude": [ "lib/parser.js" ], "all": true, "check-coverage": true, "statements": 54, "branches": 41, "functions": 70, "lines": 55 } }