2017-01-17 13:22:49 +03:00
|
|
|
|
{
|
2017-01-17 13:24:10 +03:00
|
|
|
|
"name": "crypto-pro",
|
2021-05-07 14:38:58 +03:00
|
|
|
|
"version": "2.2.2",
|
2017-01-17 13:22:49 +03:00
|
|
|
|
"description": "API для взаимодействия с КриптоПро",
|
2020-03-28 20:10:18 +03:00
|
|
|
|
"main": "./lib/crypto-pro.js",
|
|
|
|
|
"types": "./lib/crypto-pro.d.ts",
|
2020-07-04 08:46:04 +03:00
|
|
|
|
"files": [
|
|
|
|
|
"lib/**/*",
|
|
|
|
|
"dist/**/*",
|
|
|
|
|
"bower.json"
|
|
|
|
|
],
|
2017-01-17 13:22:49 +03:00
|
|
|
|
"scripts": {
|
2020-03-28 20:10:18 +03:00
|
|
|
|
"clean": "rimraf dist lib package coverage",
|
|
|
|
|
"start": "cross-env TS_CONFIG=tsconfig-es5.json webpack --watch",
|
|
|
|
|
"build:uncompressed:es5": "cross-env TS_CONFIG=tsconfig-es5.json webpack",
|
|
|
|
|
"build:compressed:es5": "cross-env TS_CONFIG=tsconfig-es5.json NODE_ENV=production webpack",
|
|
|
|
|
"build:definition-header:es5": "cross-env TS_CONFIG=tsconfig-es5.json node definition-header.js",
|
|
|
|
|
"build:es5": "npm run build:uncompressed:es5 && npm run build:compressed:es5 && npm run build:definition-header:es5",
|
|
|
|
|
"build:uncompressed:esm": "cross-env TS_CONFIG=tsconfig-esm.json webpack",
|
|
|
|
|
"build:definition-header:esm": "cross-env TS_CONFIG=tsconfig-esm.json node definition-header.js",
|
|
|
|
|
"build:esm": "npm run build:uncompressed:esm && npm run build:definition-header:esm",
|
|
|
|
|
"build": "npm run clean && npm run build:es5 && npm run build:esm",
|
2020-11-08 14:33:40 +03:00
|
|
|
|
"pack:clean": "cross-env-shell rimraf $npm_package_name-$npm_package_version.tgz",
|
|
|
|
|
"pack:uncompress": "cross-env-shell tar xopf $npm_package_name-$npm_package_version.tgz",
|
2020-03-29 13:02:44 +03:00
|
|
|
|
"test": "jest --coverage && coveralls < coverage/lcov.info",
|
2020-03-28 20:10:18 +03:00
|
|
|
|
"lint": "eslint --config .eslintrc.js './src/**/*'",
|
2020-11-08 14:33:40 +03:00
|
|
|
|
"lint:fix": "eslint --fix --config .eslintrc.js './src/**/*'",
|
|
|
|
|
"examples-update": "npm run examples-update:script-tag && npm run examples-update:angular && npm run examples-update:react",
|
|
|
|
|
"examples-update:script-tag": "npm --prefix ./examples/script-tag r crypto-pro && npm --prefix ./examples/script-tag i crypto-pro",
|
|
|
|
|
"examples-update:angular": "npm --prefix ./examples/angular r crypto-pro && npm --prefix ./examples/angular i crypto-pro",
|
|
|
|
|
"examples-update:react": "npm --prefix ./examples/react r crypto-pro && npm --prefix ./examples/react i crypto-pro",
|
|
|
|
|
"prepack": "npm run build",
|
|
|
|
|
"postpack": "npm run pack:uncompress && npm run pack:clean",
|
|
|
|
|
"prepublishOnly": "npm run lint && jest && npm run build",
|
|
|
|
|
"postpublish": "npm run examples-update"
|
2017-01-17 13:22:49 +03:00
|
|
|
|
},
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
2017-01-24 19:31:37 +03:00
|
|
|
|
"url": "https://github.com/vgoma/crypto-pro"
|
2017-01-17 13:22:49 +03:00
|
|
|
|
},
|
2020-03-28 20:10:18 +03:00
|
|
|
|
"author": {
|
|
|
|
|
"name": "Vitalii Goma",
|
|
|
|
|
"email": "vgoma@yandex.ru",
|
|
|
|
|
"url": "https://github.com/vgoma"
|
|
|
|
|
},
|
2017-01-17 13:22:49 +03:00
|
|
|
|
"keywords": [
|
|
|
|
|
"crypto",
|
|
|
|
|
"cryptopro",
|
|
|
|
|
"crypto-pro",
|
|
|
|
|
"cades",
|
2020-03-28 20:10:18 +03:00
|
|
|
|
"КриптоПро",
|
|
|
|
|
"Крипто ПРО"
|
2017-01-17 13:22:49 +03:00
|
|
|
|
],
|
2020-03-28 20:10:18 +03:00
|
|
|
|
"license": "MIT",
|
2017-01-17 13:22:49 +03:00
|
|
|
|
"devDependencies": {
|
2020-03-28 20:10:18 +03:00
|
|
|
|
"@types/jest": "25.1.4",
|
|
|
|
|
"@types/lodash": "4.14.149",
|
|
|
|
|
"@types/node": "13.9.5",
|
|
|
|
|
"@typescript-eslint/eslint-plugin": "2.25.0",
|
|
|
|
|
"@typescript-eslint/parser": "2.25.0",
|
2020-03-29 13:02:44 +03:00
|
|
|
|
"coveralls": "3.0.11",
|
2020-03-28 20:10:18 +03:00
|
|
|
|
"cross-env": "7.0.2",
|
|
|
|
|
"eslint": "6.8.0",
|
|
|
|
|
"eslint-config-prettier": "6.10.1",
|
|
|
|
|
"eslint-plugin-prettier": "3.1.2",
|
|
|
|
|
"jest": "25.2.3",
|
|
|
|
|
"prettier": "2.0.2",
|
|
|
|
|
"rimraf": "3.0.2",
|
|
|
|
|
"sinon": "9.0.1",
|
|
|
|
|
"tar": "6.0.1",
|
|
|
|
|
"ts-jest": "25.2.1",
|
|
|
|
|
"ts-loader": "6.2.2",
|
|
|
|
|
"typescript": "3.8.3",
|
|
|
|
|
"webpack": "4.42.1",
|
|
|
|
|
"webpack-cli": "3.3.11"
|
2017-01-17 13:22:49 +03:00
|
|
|
|
}
|
|
|
|
|
}
|