mirror of
https://github.com/crypto-pro-web/crypto-pro-js.git
synced 2024-11-24 00:55:00 +03:00
78 lines
3.1 KiB
JSON
78 lines
3.1 KiB
JSON
{
|
||
"name": "crypto-pro",
|
||
"version": "2.2.0",
|
||
"description": "API для взаимодействия с КриптоПро",
|
||
"main": "./lib/crypto-pro.js",
|
||
"types": "./lib/crypto-pro.d.ts",
|
||
"files": [
|
||
"lib/**/*",
|
||
"dist/**/*",
|
||
"bower.json"
|
||
],
|
||
"scripts": {
|
||
"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",
|
||
"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",
|
||
"test": "jest --coverage && coveralls < coverage/lcov.info",
|
||
"lint": "eslint --config .eslintrc.js './src/**/*'",
|
||
"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"
|
||
},
|
||
"repository": {
|
||
"type": "git",
|
||
"url": "https://github.com/vgoma/crypto-pro"
|
||
},
|
||
"author": {
|
||
"name": "Vitalii Goma",
|
||
"email": "vgoma@yandex.ru",
|
||
"url": "https://github.com/vgoma"
|
||
},
|
||
"keywords": [
|
||
"crypto",
|
||
"cryptopro",
|
||
"crypto-pro",
|
||
"cades",
|
||
"КриптоПро",
|
||
"Крипто ПРО"
|
||
],
|
||
"license": "MIT",
|
||
"devDependencies": {
|
||
"@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",
|
||
"coveralls": "3.0.11",
|
||
"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"
|
||
}
|
||
}
|