-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
110 lines (110 loc) · 3.77 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "@vkid/sdk",
"version": "2.4.0",
"description": "VK ID Web SDK",
"main": "dist-sdk/cjs/index.js",
"module": "dist-sdk/esm/index.js",
"types": "dist-sdk/types/index.d.ts",
"sideEffects": false,
"scripts": {
"sdk:types": "tspc --emitDeclarationOnly -p tsconfig.sdk.json",
"sdk:base": "rollup -c rollup.sdk.config.js --bundleConfigAsCjs ",
"sdk:dev": "yarn sdk:base -w",
"sdk:prod": "yarn clear:sdk && cross-env NODE_ENV=production yarn sdk:base && yarn sdk:types",
"docs:dev": "typedoc --watch --out ./docs",
"docs:prod": "yarn clear:docs && typedoc --out ./docs",
"lint:check:ts": "eslint --cache \"./**/*.{ts,tsx}\"",
"tests": "jest",
"tests:ci": "mkdir -p dist-coverage && yarn jest 2>&1 | tee dist-coverage/execution.log",
"clear:sdk": "rimraf dist-sdk",
"clear:demo": "rimraf dist-demo",
"clear:docs": "rimraf ./docs",
"demo:base": "rollup -c rollup.demo.config.js --bundleConfigAsCjs",
"demo:dev": "yarn demo:base -w",
"demo:prod": "yarn clear:demo && cross-env NODE_ENV=production yarn demo:base",
"lint-staged": "lint-staged",
"prepare": "husky install",
"release": "yarn publish --non-interactive --access public",
"release:alpha": "yarn release --tag alpha",
"release:beta": "yarn release --tag beta",
"prepublishOnly": "yarn demo:prod && yarn sdk:prod && yarn docs:prod",
"metrics:protected": "mkdir -p .health-metrics && yarn sdk:base > .health-metrics/build.log && yarn tests:ci && node scripts/make-metrics-json.js",
"danger:ci": "yarn metrics:protected && yarn danger ci"
},
"files": [
"dist-sdk",
"docs",
"CHANGELOG.md",
"CONTRIBUTING.md",
"CODE_OF_CONDUCT.md",
"CODE_STYLE.md",
"LICENSE"
],
"lint-staged": {
"src/**/*.{ts,tsx}": "yarn lint:check:ts",
"demo/**/*.{ts,tsx}": "yarn lint:check:ts"
},
"author": "VK ID <devsupport@corp.vk.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/VKCOM/vkid-web-sdk.git"
},
"bugs": "https://github.com/VKCOM/vkid-web-sdk/issues",
"homepage": "https://id.vk.com/about/business/demo/",
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-replace": "^5.0.2",
"@swc/core": "^1.3.82",
"@swc/jest": "^0.2.28",
"@types/crypto-js": "^4.1.1",
"@types/jest": "^28.1.6",
"@types/node": "^16.11.7",
"@typescript-eslint/eslint-plugin": "5.0.0",
"@typescript-eslint/parser": "5.0.0",
"@vkontakte/eslint-config": "3.0.0",
"@vkontakte/vkjs": "0.20.0",
"concurrently": "^8.0.1",
"cross-env": "^7.0.2",
"css-loader": "^6.8.1",
"danger": "^11.3.1",
"eslint": "^8.41.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-storybook": "^0.6.12",
"husky": "^8.0.3",
"jest": "^28.1.3",
"jest-allure": "^0.1.3",
"jest-environment-jsdom": "^28.1.3",
"jest-fetch-mock": "^3.0.3",
"jest-jasmine2": "^29.6.2",
"lint-staged": "12.5.0",
"mitt": "^1.2.0",
"nanoid": "^3.0.2",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "3.0.2",
"rollup": "^3.28.1",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-generate-html-template": "^1.7.0",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-rename-node-modules": "^1.3.1",
"rollup-plugin-serve": "^2.0.2",
"rollup-plugin-styles": "^4.0.0",
"rollup-plugin-swc3": "^0.10.1",
"rollup-plugin-watch-assets": "^1.0.1",
"style-loader": "^3.3.3",
"ts-jest": "^28.0.7",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"ts-patch": "^3.0.2",
"typedoc": "^0.24.7",
"typescript": "5.0.4",
"typescript-transform-paths": "^3.4.6"
},
"dependencies": {
"crypto-js": "^4.1.1"
},
"directories": {
"test": "__tests__"
}
}