103 lines
2.8 KiB
JSON
103 lines
2.8 KiB
JSON
{
|
|
"name": "@cortezaproject/corteza-js",
|
|
"description": "Corteza JavaScript/TypeScript libs",
|
|
"version": "2024.9.0",
|
|
"license": "Apache-2.0",
|
|
"author": "Denis Arh <denis.arh@crust.tech>",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.es.js",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist/"
|
|
],
|
|
"scripts": {
|
|
"build": "rollup -c --environment BUILD:production",
|
|
"build:dev": "rollup -c",
|
|
"lint": "eslint src --ext .js,.ts --ignore-pattern 'src/**/*.test.ts' --no-fix",
|
|
"test:unit": "mocha",
|
|
"test:unit:cc": "nyc mocha",
|
|
"codegen:corteza-api-client": "node -r esm tools/codegen/corteza-api-client.js"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^0.28.0",
|
|
"hex-rgb": "^4.1.0",
|
|
"lodash": "^4.17.15",
|
|
"minimalist": "^1.0.0",
|
|
"minimatch": "^3.0.5",
|
|
"moment": "2.30.1",
|
|
"numeral": "^2.0.6",
|
|
"pino": "^5.16.0"
|
|
},
|
|
"devDependencies": {
|
|
"@istanbuljs/nyc-config-typescript": "1.0.1",
|
|
"@rollup/plugin-node-resolve": "^7.1.1",
|
|
"@types/chai": "^4.2.6",
|
|
"@types/chai-as-promised": "^7.1.2",
|
|
"@types/js-yaml": "^3.12.2",
|
|
"@types/lodash": "^4.14.149",
|
|
"@types/minimatch": "^3.0.3",
|
|
"@types/mocha": "^5.2.7",
|
|
"@types/numeral": "^0.0.26",
|
|
"@types/pino": "^5.15.3",
|
|
"@typescript-eslint/eslint-plugin": "^7.0.1",
|
|
"@typescript-eslint/parser": "^2.11.0",
|
|
"@vue/cli-plugin-eslint": "4.1.2",
|
|
"@vue/eslint-config-standard": "5.1.0",
|
|
"chai": "^4.2.0",
|
|
"chai-as-promised": "^7.1.1",
|
|
"esformatter": "^0.11.2",
|
|
"esformatter-add-trailing-commas": "^1.1.0",
|
|
"eslint": "^8.7.2",
|
|
"eslint-config-corteza-lib": "file:../eslint-lib",
|
|
"eslint-config-standard": "^14.1.0",
|
|
"eslint-import-resolver-typescript": "^2.0.0",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-json": "^2.0.1",
|
|
"eslint-plugin-node": "11.0.0",
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
"eslint-plugin-standard": "^4.0.1",
|
|
"eslint-plugin-vue": "6.1.2",
|
|
"esm": "^3.2.25",
|
|
"handlebars": "^4.7.6",
|
|
"js-yaml": "^3.14.0",
|
|
"mocha": "^7.2.0",
|
|
"node-watch": "^0.6.3",
|
|
"nodemon": "^2.0.2",
|
|
"nyc": "^15.0.0",
|
|
"rollup": "^1.29.0",
|
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
"rollup-plugin-typescript2": "^0.25.3",
|
|
"source-map-support": "^0.5.16",
|
|
"ts-node": "^9.0.0",
|
|
"ts-node-dev": "^1.1.0",
|
|
"ts-sinon": "^1.0.25",
|
|
"typescript": "^3.7.4",
|
|
"vue-eslint-parser": "^9.3.2"
|
|
},
|
|
"resolutions": {
|
|
"**/**/moment": "2.30.1"
|
|
},
|
|
"nyc": {
|
|
"extends": "@istanbuljs/nyc-config-typescript",
|
|
"require": [
|
|
"ts-node/register"
|
|
],
|
|
"all": true,
|
|
"check-coverage": true,
|
|
"per-file": true,
|
|
"lines": 90,
|
|
"functions": 90,
|
|
"statements": 90,
|
|
"reporter": [
|
|
"text",
|
|
"lcov"
|
|
],
|
|
"include": [
|
|
"src/**/*.ts"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=12.14.0"
|
|
}
|
|
}
|