forked from daymosik/react-status-alert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 2.56 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
{
"name": "preact-status-alert",
"version": "1.1.1",
"description": "Status alert component for Preact",
"keywords": [
"react-status-alert",
"react-component",
"react",
"preact-status-alert",
"preact-component",
"preact",
"component",
"status-alert",
"status",
"alert"
],
"homepage": "https://github.com/HiddeRpl/preact-status-alert",
"repository": "github:HiddeRpl/preact-status-alert",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"all": "npm install && 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": "npm run lint --fix",
"fix": "npm run fix:ts && npm run 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 . --out-dir ./docs-dist",
"parcel-serve": "parcel serve docs/index.html -d ./serve",
"parcel-watch": "parcel watch docs/index.html -d ./watch",
"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": {
"preact": "^8.4.2"
},
"devDependencies": {
"@types/jest": "^29.5.2",
"@types/jsdom": "^21.1.1",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"eslint": "^8.42.0",
"eslint-config-preact": "^1.3.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"gh-pages": "^5.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"node-sass": "^9.0.0",
"parcel-bundler": "^1.8.1",
"preact": "^8.5.3",
"preact-render-spy": "^1.3.0",
"preact-test-utils": "^0.1.4",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"sass": "^1.63.3",
"ts-jest": "^29.1.0",
"typescript": "^5.1.3"
},
"author": "Mikołaj Jarmuła <[email protected]>",
"license": "MIT",
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"collectCoverageFrom": [
"lib/**/*.{ts,tsx}",
"!**/node_modules/**"
]
}
}