-
Notifications
You must be signed in to change notification settings - Fork 89
/
package.json
78 lines (78 loc) · 3.17 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "crypto-pro",
"version": "2.5.2",
"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": "[email protected]",
"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",
"cadesplugin_api.js": "2.3.5",
"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"
}
}