UNPKG

@accordproject/concerto-cto

Version:
143 lines (142 loc) 3.62 kB
{ "name": "@accordproject/concerto-cto", "version": "4.1.3", "description": "Parser for Concerto CTO files", "homepage": "https://github.com/accordproject/concerto", "engines": { "node": ">=18", "npm": ">=9" }, "main": "dist/index.js", "typings": "dist/index.d.ts", "browser": "dist/concerto-cto.js", "scripts": { "clean": "rimraf dist", "prebuild": "npm-run-all clean", "prepublishOnly": "npm run webpack", "parser": "peggy -o src/parser.js src/parser.pegjs", "pretest": "npm run lint && npm run parser", "lint": "eslint .", "postlint": "npm run licchk", "licchk": "license-check-and-add", "postlicchk": "npm run doc", "doc": "jsdoc --pedantic --recurse -c jsdoc.json", "test": "nyc mocha -r ts-node/register --recursive -t 10000", "test:watch": "nyc mocha -r ts-node/register --watch --recursive -t 10000", "build": "npm run parser && tsc -p tsconfig.build.json", "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": { "@istanbuljs/nyc-config-typescript": "1.0.2", "@types/debug": "^4.1.12", "@types/jest": "28.1.1", "@types/node": "18.11.18", "@types/path-browserify": "^1.0.3", "@types/semver": "7.3.10", "@typescript-eslint/eslint-plugin": "^8.46.2", "@typescript-eslint/parser": "^8.46.2", "chai": "4.3.6", "chai-as-promised": "7.1.1", "chai-things": "0.2.0", "debug": "4.3.4", "eslint": "8.57.1", "jsdoc": "^4.0.2", "license-check-and-add": "2.3.6", "mocha": "^10.8.2", "npm-run-all": "4.1.5", "nyc": "15.1.0", "peggy": "2.0.1", "rimraf": "3.0.2", "sinon": "12.0.0", "sinon-chai": "3.7.0", "ts-jest": "28.0.4", "ts-node": "10.9.1", "typescript": "5.9.3", "webpack-cli": "^6.0.1" }, "dependencies": { "@accordproject/concerto-metamodel": "^3.13.0", "@accordproject/concerto-util": "4.1.3", "acorn": "^8.15.0", "path-browserify": "^1.0.1", "schema-utils": "^4.3.3" }, "browserslist": "> 0.25%, not dead", "license-check-and-add-config": { "folder": "./src", "license": "HEADER", "exact_paths_method": "EXCLUDE", "exact_paths": [ "api.txt", "composer-logs", "coverage", "./parser.js", "LICENSE", "node_modules", ".nyc-output", "out", ".tern-project" ], "file_type_method": "EXCLUDE", "file_types": [ ".yml", ".yaml", ".zip", ".tgz" ], "insert_license": false, "license_formats": { "js|ts|njk|pegjs|cto|acl|qry": { "prepend": "/*", "append": " */", "eachLine": { "prepend": " * " } }, "npmrc|editorconfig|txt": { "eachLine": { "prepend": "# " } }, "md": { "file": "HEADER.md" } } }, "nyc": { "extends": "@istanbuljs/nyc-config-typescript", "produce-source-map": "true", "reporter": [ "lcov", "text-summary", "html", "json" ], "include": [ "src/**/*.js", "src/**/*.ts" ], "exclude": [ "src/parser.js" ], "all": true, "check-coverage": true, "statements": 100, "branches": 100, "functions": 100, "lines": 100 } }