This repository has been archived by the owner on Jul 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.82 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": "@wavevision/uploader",
"version": "1.1.0",
"description": "Simple back-end agnostic client-side uploader component.",
"main": "dist/index.js",
"files": [
"dist"
],
"types": "dist",
"author": "Wavevision s.r.o. <info@wavevision.com>",
"contributors": [
{
"name": "Vít Rozsíval",
"email": "vit@wavevision.com"
}
],
"license": "MIT",
"dependencies": {
"@wavevision/class-name": "^1.0.0",
"@wavevision/ts-utils": "^1.0.0"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@storybook/react": "^6.0.28",
"@testing-library/jest-dom": "^5.11.5",
"@testing-library/react": "^11.1.0",
"@types/jest": "^26.0.15",
"@types/mini-css-extract-plugin": "1.4.0",
"@types/node": "^12.19.3",
"@types/optimize-css-assets-webpack-plugin": "^5.0.1",
"@types/react": "^16.9.55",
"@types/react-dom": "^16.9.9",
"@types/terser-webpack-plugin": "^4.2.0",
"@types/testing-library__jest-dom": "^5.9.5",
"@types/webpack": "^4.41.24",
"@types/webpack-dev-server": "^3.11.1",
"@types/webpack-env": "^1.15.3",
"@wavevision/coding-standard": "^6.0.2",
"babel-jest": "^26.6.1",
"babel-loader": "^8.1.0",
"cache-loader": "^4.1.0",
"cross-env": "^7.0.2",
"css-loader": "^5.0.0",
"deepmerge": "^4.2.2",
"dts-bundle-generator": "^5.4.0",
"eslint": "^7.12.1",
"eslint-loader": "^4.0.2",
"eslint-plugin-jest": "^24",
"jest": "^26.6.1",
"jest-css-modules": "^2.1.0",
"mini-css-extract-plugin": "^1.2.1",
"node-sass": "^4.14.1",
"npm-run-all": "^4.1.5",
"optimize-css-assets-webpack-plugin": "^5.0.4",
"postcss": "^8.1.4",
"postcss-loader": "^4.0.4",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"sass-loader": "^10.0.4",
"stylelint": "^13.7.2",
"stylelint-webpack-plugin": "^2.1.1",
"terser-webpack-plugin": "^4.2.3",
"ts-jest": "^26.4.3",
"ts-node": "^9.0.0",
"typescript": "^4.0.5",
"webpack": "^4.44.2",
"webpack-cli": "^4.1.0",
"webpack-dev-server": "^3.11.0",
"xhr-mock": "^2.5.1"
},
"peerDependencies": {
"@types/react": "^16.9",
"@types/react-dom": "^16.9",
"react": "^16.10",
"react-dom": "^16.10"
},
"scripts": {
"build": "run-s webpack-clean webpack ts-declaration ts-declaration-all",
"ci": "run-s ts eslint prettier stylelint test-all",
"eslint": "eslint *.js *.ts src --cache --ext .js --ext .ts --ext .tsx",
"eslint-clean": "rm -f .eslintcache",
"eslint-fix": "yarn eslint --fix",
"fix": "run-s ts eslint-fix prettier-fix stylelint-fix test-all",
"postversion": "run-s postversion-push-tags postversion-publish postversion-push postversion-echo",
"postversion-echo": "echo \"Successfully released version $npm_package_version!\"",
"postversion-publish": "yarn publish --access public --new-version $npm_package_version",
"postversion-push": "git push",
"postversion-push-tags": "yarn postversion-push --tags",
"prepare": "npm run build",
"prettier": "prettier '**/*.{css,js,md,scss,ts,tsx}' --check",
"prettier-fix": "yarn prettier --write",
"preversion": "yarn fix",
"storybook": "start-storybook",
"stylelint": "stylelint src/**/*.{css,scss}",
"stylelint-fix": "yarn stylelint --fix",
"test": "yarn test-all -o",
"test-all": "cross-env NODE_ENV=test jest",
"test-all-clean": "run-s test-clean test-all",
"test-clean": "rm -rf temp/cache/jest",
"test-coverage": "yarn test-all --coverage",
"ts": "tsc --project tsconfig.json",
"ts-declaration": "dts-bundle-generator --config dts.config.js",
"ts-declaration-all": "cp dist/index.d.ts dist/all.d.ts",
"webpack": "cross-env TS_NODE_PROJECT='webpack/tsconfig.json' TS_NODE_TRANSPILE_ONLY=true NODE_ENV=production webpack --config webpack/webpack.config.ts",
"webpack-clean": "rm -rf dist/*"
}
}