forked from VKCOM/VKUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 4.07 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
{
"name": "37bytes-vkui",
"version": "2.34.1",
"main": "dist/index.js",
"module": "dist/es6/index.js",
"typings": "dist/index.d.ts",
"license": "MIT",
"description": "VKUI library",
"repository": "https://github.com/37bytes/VKUI",
"defaultSchemeId": "client_light",
"sideEffects": [
"./dist/lib/polyfills.js",
"./dist/index.js",
"./dist/es6/lib/polyfills.js",
"./dist/es6/index.js",
"*.css"
],
"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@babel/runtime": "^7.5.5",
"@types/node": "^12.7.2",
"@types/react": "^16.9.2",
"@types/react-dom": "^16.8.5",
"@typescript-eslint/eslint-plugin": "^2.2.0",
"@typescript-eslint/parser": "^2.2.0",
"@vkontakte/appearance": "https://github.com/VKCOM/Appearance#v2.3.6",
"@vkontakte/icons": "^1.8.3",
"autoprefixer": "^7.2.3",
"babel-loader": "^8.0.4",
"classnames": "^2.2.6",
"concurrently": "^4.1.2",
"css-loader": "^3.2.0",
"eslint": "^6.3.0",
"eslint-config-semistandard": "^15.0.0",
"eslint-config-standard": "^13.0.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.9.1",
"eslint-plugin-standard": "^4.0.1",
"mini-css-extract-plugin": "^0.4.0",
"postcss": "^7.0.17",
"postcss-cli": "^6.1.3",
"postcss-csso": "^3.0.0",
"postcss-custom-properties": "^8.0.9",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"pre-commit": "^1.2.2",
"prop-types": "^15.6.1",
"react": "^16.8.6",
"react-docgen": "^4.1.1",
"react-docgen-typescript": "^1.14.1",
"react-dom": "^16.8.6",
"react-frame-component": "^3.0.0",
"react-styleguidist": "^9.1.16",
"source-map-loader": "^0.2.4",
"stylelint": "^10.1.0",
"stylelint-config-standard": "^18.3.0",
"ts-loader": "^6.0.4",
"typescript": "^3.5.3",
"webpack": "^4.12.0",
"webpack-cli": "^3.0.3",
"webpack-merge": "^4.0.0"
},
"bin": {
"generate_scheme": "./tasks/generate_scheme.js"
},
"peerDependencies": {
"@babel/runtime": "^7.5.5",
"@vkontakte/icons": "^1.8.3",
"prop-types": "^15.6.1",
"react": "^16.8.6",
"react-dom": "^16.8.6"
},
"scripts": {
"release": "./tasks/release.sh",
"prepublishOnly": "yarn clear && yarn build",
"styleguide": "NODE_ENV=development styleguidist server --config=styleguide/config.js",
"styleguide:build": "NODE_ENV=production styleguidist build --config=styleguide/config.js",
"dev": "yarn clear && concurrently \"yarn:tsc-dev\" \"yarn:babel-dev\" \"yarn:postcss-dev\"",
"postcss-dev": "postcss src/styles/styles.css --output dist/vkui.css --watch --verbose --no-map",
"babel-dev": "babel src/ --out-dir dist/ --extensions .tsx,.jsx,.ts,.js --watch",
"tsc-dev": "tsc --noEmit --watch --preserveWatchOutput",
"build": "yarn tsc && yarn babel && yarn tsc:es6 && yarn babel:es6 && yarn webpack && yarn postcss && cp ./src/styles/client_light.css ./dist/default_scheme.css",
"webpack": "NODE_ENV=production webpack",
"postcss": "NODE_ENV=production postcss src/styles/styles.css --output dist/vkui.css --verbose",
"babel": "NODE_ENV=production babel src/ --out-dir dist/ --source-maps --extensions .tsx,.jsx,.ts,.js",
"babel:es6": "NODE_ENV=production babel --config-file ./babel.es6.config.js src/ --out-dir dist/es6/ --source-maps --extensions .tsx,.jsx,.ts,.js",
"tsc": "NODE_ENV=production tsc --emitDeclarationOnly --declaration",
"tsc:es6": "NODE_ENV=production tsc --emitDeclarationOnly --declaration --outDir dist/es6/",
"clear": "rm -rf dist/*",
"test": "tsc --noEmit && eslint --ext .tsx,.jsx,.ts,.js src/ && stylelint './src/**/*.css'"
},
"pre-commit": [
"test"
],
"dependencies": {
"@vkontakte/vk-bridge": "^2.4.8"
}
}