-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 2.17 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 2.17 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
{
"name": "react-circular-slider-svg",
"version": "0.4.0",
"description": "A circular slider React component",
"keywords": [
"react",
"circular",
"circle",
"round",
"arc",
"slider",
"input",
"svg"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"prepublishOnly": "npm test && npm run build && npm i --package-lock-only && sleep 3 && (test -z \"$(git status --porcelain)\" || (echo \\\\n\\\\nuntracked changes, exiting! && git status --porcelain && exit 1))",
"postpublish": "PACKAGE_VERSION=$(echo 'const p = require(\"./package.json\"); process.stdout.write(p.version)' | node) && git tag v$PACKAGE_VERSION && git push --tags",
"test": "eslint src/** && prettier --check src/**",
"build": "rm -rf ./dist ./docs && prettier --write src/** docs-src/** && webpack && tsc",
"watch-docs": "webpack serve",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mnkhouri/react-circular-slider.git"
},
"author": "Marc Khouri <github@khouri.ca>",
"license": "MIT",
"bugs": {
"url": "https://github.com/mnkhouri/react-circular-slider/issues"
},
"homepage": "https://github.com/mnkhouri/react-circular-slider#readme",
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.26.0",
"@types/react": "^19.1.3",
"@types/react-dom": "^19.1.3",
"@types/react-syntax-highlighter": "^15.5.13",
"@typescript-eslint/eslint-plugin": "^8.32.0",
"@typescript-eslint/parser": "^8.32.0",
"eslint": "^9.26.0",
"eslint-config-prettier": "^10.1.5",
"html-webpack-plugin": "^5.6.3",
"husky": "^9.1.7",
"prettier": "^3.5.3",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-syntax-highlighter": "^15.6.1",
"ts-loader": "^9.5.2",
"typescript": "^5.8.3",
"webpack": "^5.99.8",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.1"
},
"peerDependencies": {
"react": ">=15.0.0"
},
"husky": {
"hooks": {
"pre-commit": "STATUS=$(git diff); npm run build && ([ \"$(git diff)\" == \"$STATUS\" ] || (echo 'git status changed!' && exit 1))"
}
}
}