@x-edu/service 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "@x-edu/service",
3
+ "version": "0.0.1",
4
+ "main": "dist/service.js",
5
+ "module": "dist/service.mjs",
6
+ "types": "dist/index.d.ts",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "browser": {
11
+ "crypto": false
12
+ },
13
+ "scripts": {
14
+ "dev": "vite",
15
+ "build": "tsc && vite build",
16
+ "build:profile": "vite build --profile",
17
+ "preview": "vite preview",
18
+ "lint:fix": "eslint src --fix",
19
+ "test:coverage": "jest --coverage",
20
+ "lint": "eslint ./src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
21
+ "clean": "rimraf dist node_modules",
22
+ "release": "release-it",
23
+ "beforepublish": "node ../../scripts/publish_backup.js",
24
+ "afterpublish": "node ../../scripts/publish_recover.js"
25
+ },
26
+ "publishConfig": {
27
+ "access": "public",
28
+ "registry": "https://registry.npmjs.org/"
29
+ },
30
+ "husky": {
31
+ "hooks": {
32
+ "pre-commit": "lint-staged"
33
+ }
34
+ },
35
+ "lint-staged": {
36
+ "src/**/*.{js,jsx,ts,tsx}": [
37
+ "eslint --fix",
38
+ "git add"
39
+ ]
40
+ },
41
+ "dependencies": {
42
+ "@rollup/plugin-node-resolve": "^13.3.0",
43
+ "@x-edu/functions": "0.1.5",
44
+ "dayjs": "^1.11.13"
45
+ },
46
+ "devDependencies": {
47
+ "@types/node": "^18.15.13",
48
+ "husky": "^7.0.4",
49
+ "lint-staged": "^7.3.0",
50
+ "vite": "^5.1.4",
51
+ "vite-plugin-babel": "^1.2.0",
52
+ "vite-plugin-dts": "^3.9.1",
53
+ "vite-plugin-eslint": "^1.8.1",
54
+ "vite-plugin-externalize-deps": "^0.8.0",
55
+ "vite-plugin-imp": "^2.1.3",
56
+ "vite-plugin-inspect": "^0.8.4"
57
+ },
58
+ "peerDependencies": {
59
+ "react": "17.x",
60
+ "react-dom": "17.x"
61
+ }
62
+ }