generated from maksimr/playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 3.91 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
{
"name": "@maksimr/uikit",
"author": "Maksim Ryzhikov <rv.maksim@gmail.com> (https://github.com/maksimr)",
"version": "0.6.0",
"engines": {
"node": ">= 14"
},
"types": "index.d.ts",
"scripts": {
"start": "webpack serve --mode development --history-api-fallback --host 0.0.0.0 --client-web-socket-url auto://0.0.0.0:0/ws",
"build": "webpack --mode production",
"build:types-bundle": "node ./scripts/bundle-types.js dist",
"build:patch-pkg": "node ./scripts/patch-pkg.js",
"build:pkg": "tsc --project tsconfig.build.json --declaration --outDir dist --noEmit false",
"postbuild:pkg": "npm run build:types-bundle && cp package.json dist/package.json && npm run build:patch-pkg",
"release:major": "changelog -M && npm run release -- major",
"release:minor": "changelog -m && npm run release -- minor",
"release:patch": "changelog -p && npm run release -- patch",
"prerelease": "git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md'",
"release": "npm version -m 'bump: version to %s'",
"postrelease": "git push origin && git push origin --tags",
"test": "karma start ./test/karma.config.js",
"test:watch": "npm test -- --no-single-run",
"test:e2e": "karma start ./test/e2e/karma.config.js",
"test:e2e:watch": "npm run test:e2e -- --no-single-run --reporters spec",
"test:type": "tsc",
"test:cpd": "jscpd --pattern 'lib/**/*.js' --ignore '**/*.test.js,**/*.e2e.js' --exitCode 1",
"test:codestyle": "eslint lib/ src/ test/",
"test:all": "npm run test:codestyle && npm run test:type && npm run test:cpd && npm run test && npm run test:e2e"
},
"peerDependencies": {
"@types/react": ">=17",
"@types/react-dom": ">=17",
"@types/use-sync-external-store": "*",
"react": ">=17",
"react-dom": ">=17",
"use-sync-external-store": "*",
"http-proxy-agent": "*",
"https-proxy-agent": "*"
},
"devDependencies": {
"@babel/core": "7.26.0",
"@babel/eslint-parser": "7.25.9",
"@babel/preset-env": "7.26.0",
"@babel/preset-react": "7.26.3",
"@maksimr/karma-test-utils": "0.0.2",
"@testing-library/react": "16.1.0",
"@types/jasmine": "5.1.5",
"@types/react": "18.3.17",
"@types/react-dom": "18.3.5",
"@types/webpack-env": "1.18.5",
"@types/webpack-sources": "3.2.3",
"babel-loader": "9.2.1",
"css-loader": "7.1.2",
"eslint": "8.57.1",
"eslint-plugin-react": "7.37.2",
"generate-changelog": "1.8.0",
"html-webpack-plugin": "5.6.3",
"http-proxy-agent": "^7.0.2",
"https-proxy-agent": "^7.0.5",
"immer": "10.1.1",
"jest-image-snapshot": "6.4.0",
"jscpd": "3.5.10",
"karma": "6.4.4",
"karma-chrome-launcher": "3.2.0",
"karma-image-snapshot": "0.1.0",
"karma-jasmine": "5.1.0",
"karma-spec-reporter": "0.0.36",
"karma-webpack": "5.0.1",
"playwright": "1.49.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"typescript": "5.7.2",
"webpack": "5.97.1",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.2.0",
"webpack-sources": "3.2.3"
},
"eslintConfig": {
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false,
"ecmaVersion": 8,
"sourceType": "module"
},
"plugins": [
"react"
],
"env": {
"browser": true,
"es6": true,
"node": true
},
"globals": {
"describe": true,
"BigInt": true,
"it": true,
"beforeEach": true,
"beforeAll": true,
"afterAll": true,
"afterEach": true,
"expect": true,
"expectAsync": true
},
"rules": {
"react/jsx-uses-vars": 2,
"react/jsx-uses-react": 2,
"no-console": "error",
"quotes": [
"error",
"single"
],
"no-undef": "error",
"semi": "error",
"no-unused-vars": "error"
}
},
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/maksimr/uikit.git"
}
}