-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
152 lines (152 loc) · 6.54 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "react-system-hook",
"version": "1.0.9",
"description": "Several react hooks and helpers to work with device's screen",
"keywords": [
"system",
"screen",
"device",
"react"
],
"main": "dist/index.js",
"types": "dist/library.d.ts",
"files": [
"/dist"
],
"license": "MIT",
"author": {
"name": "WebBestMaster",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "git+https://github.com/webbestmaster/react-system-hook.git"
},
"bugs": {
"url": "https://github.com/webbestmaster/react-system-hook/issues"
},
"homepage": "https://github.com/webbestmaster/react-system-hook#readme",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"front:start-dev": "cross-env NODE_ENV=development SIDE=front webpack-cli serve --progress",
"front:start-dev:transpile-only": "cross-env NODE_ENV=development SIDE=front TS_TRANSPILE_ONLY=true webpack-cli serve --progress",
"front:build": "cross-env NODE_ENV=production SIDE=front NODE_OPTIONS=--max-old-space-size=512 webpack --progress",
"back:start": "cross-env NODE_ENV=production node ./dist-server/dist/index.js",
"back:build": "cross-env NODE_ENV=production SIDE=back IS_SERVER_PROD_BUILD=true NODE_OPTIONS=--max-old-space-size=512 webpack --progress",
"back:build:watch": "cross-env NODE_ENV=production SIDE=back webpack --progress --watch",
"back:nodemon": "nodemon ./dist-server/dist/index.js",
"build:prod:start": "npm run front:build && npm run back:build && npm run back:start",
"front:build-library": "cross-env NODE_ENV=production SIDE=front IS_BUILD_LIBRARY=true NODE_OPTIONS=--max-old-space-size=512 webpack --progress && npm run front:tsc-library",
"make-static-site": "cross-env MAKE_STATIC_SITE=TRUE npm run build:prod:start",
"check": "npm run ts-coverage && npm run tsc && npm run eslint && npm run stylelint",
"check:fix": "npm run prettier && npm run ts-coverage && npm run tsc && npm run eslint:fix && npm run stylelint:fix",
"eslint": "eslint .",
"eslint:fix": "eslint . --fix",
"eslint:watch": "npm-watch eslint",
"stylelint": "stylelint ./**.scss",
"stylelint:fix": "stylelint ./**.scss --fix",
"stylelint:watch": "npm-watch stylelint",
"prettier": "prettier --write \"./**/*.(js|ts|tsx)\" --log-level warn",
"tsc": "tsc -p ./tsconfig.json",
"tsc-init": "npx tsc --init",
"tsc:watch": "tsc -p ./tsconfig.json --watch",
"front:tsc-library": "tsc -p ./tsconfig.library.json && npm run front:tsc-library-css",
"front:tsc-library-css": "cross-env NODE_ENV=production SIDE=front IS_BUILD_LIBRARY=true ts-node --files ./webpack/util/library/css.ts",
"ts-coverage": "rimraf coverage-ts && typescript-coverage-report --threshold=100 --strict=true --project ./",
"ts-coverage:watch": "npm-watch ts-coverage",
"test:e2e": "jest --config='test-e2e/config/jest.config.ts' ./test-e2e/ --runInBand",
"test:unit": "jest --config='test-unit/config/jest.config.ts' ./www/ --runInBand",
"test:unit:watch": "jest --config='test-unit/config/jest.config.ts' ./www/ --runInBand --watch",
"backstop:approve": "backstop approve --config=./test-backstop/backstop-config.json",
"backstop:test": "backstop test --config=./test-backstop/backstop-config.json",
"pre-commit-hook": "npm run check",
"_postinstall": "cp ./git-hooks/pre-commit ./.git/hooks",
"__start-site": "sudo nginx -c ~/user/master-git/db-cms/site/nginx/nginx.site.conf -g 'daemon off;'",
"lighthouse:run": "ts-node --project ./tsconfig.lighthouse.json --files ./lighthouse/lighthouse.ts",
"storybook:start-dev": "storybook dev -p 6006 -c storybook",
"storybook:build": "storybook build -c storybook",
"clean-install-windows": "rd .\\node_modules\\ -r; npm i"
},
"peerDependencies": {
"@types/react": "^18.3.9",
"@types/react-dom": "^18.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-transform-strict-mode": "^7.24.7",
"@eslint/js": "^9.11.1",
"@storybook/addon-actions": "^8.3.3",
"@storybook/addon-essentials": "^8.3.3",
"@storybook/addon-interactions": "^8.3.3",
"@storybook/addon-links": "^8.3.3",
"@storybook/blocks": "^8.3.3",
"@storybook/builder-webpack5": "^8.3.3",
"@storybook/manager-webpack5": "^6.5.16",
"@storybook/react": "^8.3.3",
"@storybook/react-webpack5": "^8.3.3",
"@storybook/testing-library": "^0.2.2",
"@testing-library/react": "^16.0.1",
"@types/circular-dependency-plugin": "^5.0.8",
"@types/duplicate-package-checker-webpack-plugin": "^2.1.5",
"@types/script-ext-html-webpack-plugin": "^2.1.6",
"@types/webpack-bundle-analyzer": "^4.7.0",
"@types/webpack-node-externals": "^3.0.4",
"ajv": "^8.17.1",
"babel-loader": "^9.2.1",
"backstopjs": "^6.3.25",
"circular-dependency-plugin": "^5.2.2",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"css-module-typescript-loader": "^0.0.4",
"duplicate-package-checker-webpack-plugin": "^3.0.0",
"eslint": "^9.11.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-react": "^7.36.1",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sonarjs": "^2.0.2",
"eslint-plugin-unicorn": "^55.0.0",
"html-webpack-plugin": "^5.6.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-transform-stub": "^2.0.0",
"lighthouse": "^12.2.1",
"mini-css-extract-plugin": "^2.9.1",
"nodemon": "^3.1.7",
"npm-watch": "^0.13.0",
"prettier": "^3.3.3",
"puppeteer": "^23.4.0",
"raw-loader": "^4.0.2",
"sass": "^1.79.3",
"sass-loader": "^16.0.2",
"script-ext-html-webpack-plugin": "^2.1.5",
"storybook": "^8.3.3",
"style-loader": "^4.0.0",
"stylelint": "^16.9.0",
"stylelint-config-standard": "^36.0.1",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-order": "^6.0.4",
"stylelint-scss": "^6.7.0",
"terser-webpack-plugin": "^5.3.10",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.6.2",
"typescript-coverage-report": "^1.0.0",
"typescript-eslint": "^8.7.0",
"webpack": "^5.94.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0",
"webpack-node-externals": "^3.0.0"
}
}