1 | {
|
2 | "name": "@accordproject/concerto-tools",
|
3 | "version": "2.0.0",
|
4 | "description": "Tools for the Concerto Modeling Language",
|
5 | "homepage": "https://github.com/accordproject/concerto",
|
6 | "engines": {
|
7 | "node": ">=14",
|
8 | "npm": ">=6"
|
9 | },
|
10 | "main": "index.js",
|
11 | "typings": "types/index.d.ts",
|
12 | "scripts": {
|
13 | "prepublishOnly": "webpack --config webpack.config.js --mode production",
|
14 | "pretest": "npm run lint",
|
15 | "lint": "eslint .",
|
16 | "postlint": "npm run licchk",
|
17 | "licchk": "license-check-and-add",
|
18 | "postlicchk": "npm run doc",
|
19 | "doc": "jsdoc --pedantic --recurse -c jsdoc.json",
|
20 | "postdoc": "npm run build:types",
|
21 | "test": "nyc mocha --recursive -t 10000",
|
22 | "test:watch": "nyc mocha --watch --recursive -t 10000",
|
23 | "mocha": "mocha --recursive -t 10000",
|
24 | "nyc": "nyc mocha --recursive -t 10000",
|
25 | "build:types": "tsc index.js --declaration --allowJs --emitDeclarationOnly --outDir types"
|
26 | },
|
27 | "repository": {
|
28 | "type": "git",
|
29 | "url": "https://github.com/accordproject/concerto.git",
|
30 | "directory": "packages/concerto-tools"
|
31 | },
|
32 | "keywords": [
|
33 | "concerto",
|
34 | "tools",
|
35 | "modeling"
|
36 | ],
|
37 | "author": "accordproject.org",
|
38 | "license": "Apache-2.0",
|
39 | "devDependencies": {
|
40 | "@babel/preset-env": "7.16.11",
|
41 | "babel-loader": "8.2.3",
|
42 | "chai": "4.3.6",
|
43 | "chai-as-promised": "7.1.1",
|
44 | "chai-things": "0.2.0",
|
45 | "eslint": "8.2.0",
|
46 | "jsdoc": "^3.6.7",
|
47 | "license-check-and-add": "2.3.6",
|
48 | "mocha": "8.3.2",
|
49 | "mockery": "2.1.0",
|
50 | "moxios": "0.4.0",
|
51 | "nunjucks": "3.2.3",
|
52 | "nyc": "15.1.0",
|
53 | "sinon": "12.0.0",
|
54 | "sinon-chai": "3.7.0",
|
55 | "tmp-promise": "3.0.2",
|
56 | "typescript": "4.6.3",
|
57 | "webpack": "5.64.2",
|
58 | "webpack-cli": "4.9.1"
|
59 | },
|
60 | "dependencies": {
|
61 | "@accordproject/concerto-core": "2.0.0",
|
62 | "@accordproject/concerto-util": "2.0.0",
|
63 | "ajv": "8.10.0",
|
64 | "ajv-formats": "2.1.1",
|
65 | "debug": "4.3.1",
|
66 | "mkdirp": "1.0.4"
|
67 | },
|
68 | "license-check-and-add-config": {
|
69 | "folder": "./lib",
|
70 | "license": "HEADER",
|
71 | "exact_paths_method": "EXCLUDE",
|
72 | "exact_paths": [
|
73 | "api.txt",
|
74 | "composer-logs",
|
75 | "coverage",
|
76 | "index.d.ts",
|
77 | "./system",
|
78 | "./introspect/parser.js",
|
79 | "LICENSE",
|
80 | "node_modules",
|
81 | ".nyc-output",
|
82 | "out",
|
83 | ".tern-project"
|
84 | ],
|
85 | "file_type_method": "EXCLUDE",
|
86 | "file_types": [
|
87 | ".yml",
|
88 | ".yaml",
|
89 | ".zip",
|
90 | ".tgz"
|
91 | ],
|
92 | "insert_license": false,
|
93 | "license_formats": {
|
94 | "js|njk|pegjs|cto|acl|qry": {
|
95 | "prepend": "/*",
|
96 | "append": " */",
|
97 | "eachLine": {
|
98 | "prepend": " * "
|
99 | }
|
100 | },
|
101 | "npmrc|editorconfig|txt": {
|
102 | "eachLine": {
|
103 | "prepend": "# "
|
104 | }
|
105 | },
|
106 | "md": {
|
107 | "file": "./HEADER.md"
|
108 | }
|
109 | }
|
110 | },
|
111 | "nyc": {
|
112 | "produce-source-map": "true",
|
113 | "sourceMap": "inline",
|
114 | "reporter": [
|
115 | "lcov",
|
116 | "text-summary",
|
117 | "html",
|
118 | "json"
|
119 | ],
|
120 | "include": [
|
121 | "lib/**/*.js"
|
122 | ],
|
123 | "exclude": [
|
124 | "lib/codegen/codegen.js"
|
125 | ],
|
126 | "all": true,
|
127 | "check-coverage": true,
|
128 | "statements": 99,
|
129 | "branches": 98,
|
130 | "functions": 99,
|
131 | "lines": 99
|
132 | }
|
133 | }
|