-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
129 lines (129 loc) · 6.62 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "plasma",
"private": true,
"author": "SberDevices Frontend Team <sberdevices.frontend@gmail.com>",
"license": "Sber Public License at-nc-sa v.2",
"scripts": {
"release": "tsc -p auto-plugins/tsconfig.json && git diff && auto shipit",
"cy:clean": "rm -rf cypress/{results,reports,screenshots,videos}",
"cy:accept-diffs": "docker run -it --rm -v $PWD:/e2e -w /e2e -e CYPRESS_updateSnapshots=true -e CYPRESS_BASE_URL=${PUBLIC_URL:-'http://host.docker.internal:6006'} cypress/included:8.0.0 run --browser chrome",
"cy:run": "docker run -it --rm -v $PWD:/e2e -w /e2e -e CYPRESS_BASE_URL=${PUBLIC_URL:-'http://host.docker.internal:6006'} cypress/included:8.0.0 run --browser chrome",
"cy:open": "cypress open",
"precy:run-ct": "rm -rf {.nyc_output}",
"cy:run-ct": "docker run --rm -v $PWD:/e2e -w /e2e --entrypoint=/bin/bash -e CYPRESS_CONFIG_FILE=$CYPRESS_CONFIG_FILE -e PACKAGE_NAME=$PACKAGE_NAME -e COVERAGE_DIR=cypress/${PACKAGE_NAME}-coverage -e COVERAGE=true -e PACKAGE_DIR=packages/$PACKAGE_NAME -e CYPRESS_updateSnapshots=$CYPRESS_updateSnapshots cypress/included:8.0.0 -c 'node ./actions/platform-test/lib/index.js --config cypress/config/$CYPRESS_CONFIG_FILE --command run-ct'",
"cy:temple:run-ct": "PACKAGE_NAME=plasma-temple CYPRESS_CONFIG_FILE=temple npm run cy:run-ct",
"cy:ui:run-ct": "PACKAGE_NAME=plasma-ui CYPRESS_CONFIG_FILE=ui-config.json npm run cy:run-ct",
"cy:web:run-ct": "PACKAGE_NAME=plasma-web CYPRESS_CONFIG_FILE=web-config.json npm run cy:run-ct",
"cy:b2b:run-ct": "PACKAGE_NAME=plasma-web CYPRESS_CONFIG_FILE=b2b-config.json npm run cy:run-ct",
"cy:b2c:run-ct": "PACKAGE_NAME=plasma-b2c CYPRESS_CONFIG_FILE=b2c-config.json npm run cy:run-ct",
"cy:ui:run-ct-update-diffs": "PACKAGE_NAME=plasma-ui CYPRESS_updateSnapshots=true CYPRESS_CONFIG_FILE=ui-config.json npm run cy:run-ct",
"cy:web:run-ct-update-diffs": "PACKAGE_NAME=plasma-web CYPRESS_updateSnapshots=true CYPRESS_CONFIG_FILE=web-config.json npm run cy:run-ct",
"cy:b2b:run-ct-update-diffs": "PACKAGE_NAME=plasma-web CYPRESS_updateSnapshots=true CYPRESS_CONFIG_FILE=b2b-config.json npm run cy:run-ct",
"cy:b2c:run-ct-update-diffs": "PACKAGE_NAME=plasma-b2c CYPRESS_updateSnapshots=true CYPRESS_CONFIG_FILE=b2c-config.json npm run cy:run-ct",
"cy:temple:run-ct-update-diffs": "PACKAGE_NAME=plasma-temple CYPRESS_updateSnapshots=true CYPRESS_CONFIG_FILE=temple npm run cy:run-ct",
"cy:ui:open-ct": "PACKAGE_DIR=packages/plasma-ui node actions/platform-test/lib/index.js --config cypress/config/ui-config.json --command open-ct --env failOnSnapshotDiff=false",
"cy:web:open-ct": "PACKAGE_DIR=packages/plasma-web node actions/platform-test/lib/index.js --config cypress/config/web-config.json --command open-ct --env failOnSnapshotDiff=false",
"cy:b2b:open-ct": "PACKAGE_DIR=packages/plasma-web node actions/platform-test/lib/index.js --config cypress/config/b2b-config.json --command open-ct --env failOnSnapshotDiff=false",
"cy:b2c:open-ct": "PACKAGE_DIR=packages/plasma-b2c node actions/platform-test/lib/index.js --config cypress/config/b2c-config.json --command open-ct --env failOnSnapshotDiff=false",
"cy:temple:open-ct": "PACKAGE_DIR=packages/plasma-temple node actions/platform-test/lib/index.js --config cypress/config/temple --command open-ct --platform ${TEST_PLATFORM:=sberbox} --env failOnSnapshotDiff=false",
"cy:report:coverage": "nyc report --reporter=cobertura --reporter=html",
"build-storybook": "lerna run build-storybook",
"build-docz": "lerna bootstrap --scope=@sberdevices/ui && lerna run docz:build",
"extract-docgen-info": "lerna run extract-docgen-info",
"lint": "eslint --ext .js,.ts,.tsx .",
"test": "lerna run test",
"typescript-coverage": "lerna run typescript-coverage --no-bail"
},
"devDependencies": {
"@actions/core": "1.2.7",
"@actions/github": "4.0.0",
"@auto-it/conventional-commits": "9.60.1",
"@auto-it/npm": "9.60.1",
"@auto-it/slack": "9.60.1",
"@commitlint/cli": "11.0.0",
"@commitlint/config-conventional": "11.0.0",
"@cypress/code-coverage": "3.9.11",
"@cypress/react": "5.9.2",
"@cypress/webpack-dev-server": "1.4.0",
"@cypress/webpack-preprocessor": "5.9.1",
"@sberdevices/plasma-cy-utils": "file:utils/plasma-cy-utils",
"@storybook/addon-actions": "6.0.0-rc.13",
"@storybook/addon-backgrounds": "6.0.0-rc.13",
"@storybook/addon-knobs": "6.0.0-rc.13",
"@storybook/addon-toolbars": "6.0.22",
"@storybook/addon-viewport": "6.0.0-rc.13",
"@storybook/react": "6.0.0-rc.13",
"@storybook/theming": "6.1.16",
"@testing-library/cypress": "7.0.6",
"@types/cypress-image-snapshot": "3.1.5",
"@types/mocha": "9.0.0",
"@types/node": "16.11.6",
"@typescript-eslint/eslint-plugin": "2.29.0",
"@typescript-eslint/parser": "2.29.0",
"auto": "9.60.1",
"axe-core": "4.3.4",
"babel-eslint": "10.1.0",
"babel-plugin-inline-svg": "1.2.0",
"babel-plugin-istanbul": "6.1.1",
"babel-plugin-styled-components": "1.13.2",
"cypress": "8.0.0",
"cypress-axe": "0.13.0",
"cypress-image-snapshot": "4.0.1",
"cypress-react-unit-test": "4.17.2",
"eslint": "6.8.0",
"eslint-config-airbnb": "18.1.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-cypress": "2.11.1",
"eslint-plugin-flowtype": "4.7.0",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-jest": "23.8.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-prettier": "3.1.3",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-hooks": "3.0.0",
"file-loader": "6.2.0",
"fs-extra": "10.0.0",
"html-webpack-plugin": "5.3.2",
"http-server": "0.12.3",
"husky": "4.3.0",
"image-loader": "0.0.1",
"lerna": "^3.22.1",
"lint-staged": "10.4.2",
"node-fetch": "2.6.1",
"nyc": "15.1.0",
"prettier": "2.0.5",
"stylelint": "13.3.3",
"stylelint-config-recommended": "3.0.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-order": "4.0.0",
"stylelint-prettier": "1.1.2",
"stylelint-processor-styled-components": "1.10.0",
"ts-loader": "9.2.3",
"typescript": "3.9.10",
"webpack": "5.46.0",
"webpack-dev-server": "3.11.2"
},
"auto": {
"prereleaseBranches": [
"rc"
],
"plugins": [
[
"npm",
{
"setRcToken": false
}
],
"conventional-commits",
"slack",
"./auto-plugins/dist/update-deps.js"
]
},
"dependencies": {
"@sberdevices/plasma-tokens": "*",
"@sberdevices/plasma-tokens-b2c": "*",
"@sberdevices/plasma-tokens-web": "*",
"@sberdevices/plasma-typo": "*",
"babel-plugin-annotate-pure-calls": "0.4.0"
}
}