-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.86 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 2.86 KB
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
{
"name": "react-status-alert",
"version": "1.4.1",
"description": "Status alert component for React",
"keywords": [
"react-status-alert",
"react-component",
"react",
"component",
"status-alert",
"status",
"alert"
],
"homepage": "https://github.com/daymosik/react-status-alert",
"repository": "github:daymosik/react-status-alert",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"all": "npm run lint && npm run test && npm run build && npm run build-docs",
"build": "npm run clean && npm run tsc && npm run copy",
"tsc": "tsc",
"copy": "cp ./lib/status-alert.css ./dist/",
"lint": "eslint \"{lib,test}/**/*.{ts,tsx}\"",
"prettier": "prettier \"./lib/**/*.{ts,tsx,scss}\" --check",
"fix:prettier": "prettier \"./lib/**/*.{ts,tsx,scss}\" --write",
"fix:ts": "yarn lint --fix",
"fix": "yarn fix:ts && yarn fix:prettier",
"test": "jest --coverage",
"build-all": "npm run build && npm run build-docs",
"build-docs": "npm run clean-docs && npm run parcel-build",
"parcel-build": "parcel build docs/index.html --public-url . --dist-dir ./docs-dist",
"parcel-serve": "parcel serve docs/index.html",
"parcel-watch": "parcel watch docs/index.html",
"predeploy": "npm run build-docs",
"deploy": "gh-pages -d docs-dist",
"clean": "rimraf ./dist",
"clean-docs": "rimraf ./docs-dist",
"publish-package": "npm run all && npm version patch && npm publish"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@parcel/transformer-sass": "^2.12.0",
"@parcel/transformer-typescript-tsc": "^2.12.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^15.0.7",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"gh-pages": "^6.1.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"parcel": "^2.12.0",
"parse5": "^7.1.2",
"prettier": "^3.2.5",
"process": "^0.11.10",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-test-renderer": "^18.3.1",
"rimraf": "^5.0.5",
"sass": "^1.77.0",
"ts-jest": "^29.1.2",
"typescript": "^5.4.5"
},
"author": "Damian Majsner <d.majsner@gmail.com>",
"license": "MIT",
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"setupFiles": [
"<rootDir>/test/test-setup.ts"
],
"collectCoverageFrom": [
"lib/**/*.{ts,tsx}",
"!**/node_modules/**"
]
},
"targets": {
"main": false,
"types": false
}
}