-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·115 lines (115 loc) · 3.63 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
{
"name": "@accessible/slider",
"version": "2.0.1",
"homepage": "https://github.com/accessible-ui/slider#readme",
"repository": "github:accessible-ui/slider",
"bugs": "https://github.com/accessible-ui/slider/issues",
"author": "Jared Lunde <[email protected]> (https://jaredLunde.com)",
"license": "MIT",
"description": "An accessible and versatile slider component for React",
"keywords": [
"react",
"react component",
"slider",
"accessible slider",
"a11y slider",
"react a11y slider",
"react accessible slider",
"react slider",
"react slider component",
"a11y",
"react aria slider",
"aria",
"aria slider"
],
"main": "dist/main/index.js",
"module": "dist/module/index.js",
"source": "src/index.tsx",
"types": "types/index.d.ts",
"files": [
"/dist",
"/src",
"/types"
],
"exports": {
".": {
"browser": "./dist/module/index.js",
"import": "./dist/esm/index.mjs",
"require": "./dist/main/index.js",
"source": "./src/index.tsx",
"types": "./types/index.d.ts",
"default": "./dist/main/index.js"
},
"./package.json": "./package.json",
"./": "./"
},
"sideEffects": false,
"scripts": {
"build": "npm run build-esm && npm run build-main && npm run build-module && npm run build-types",
"build-esm": "npm run compile -- -d dist/esm --env-name esm --out-file-extension .mjs",
"build-main": "npm run compile -- -d dist/main --env-name main",
"build-module": "npm run compile -- -d dist/module --env-name module",
"build-types": "tsc -p tsconfig.json -d --outDir types --emitDeclarationOnly",
"check-types": "tsc --noEmit -p tsconfig.json",
"compile": "babel src -x .ts,.tsx --ignore \"**/*.test.ts\",\"**/*.test.tsx\" --delete-dir-on-start",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,md,yml,json,eslintrc,prettierrc}\"",
"lint": "eslint . --ext .ts,.tsx",
"prepublishOnly": "npm run lint && npm run test && npm run build && npm run format",
"test": "jest",
"validate": "npm run check-types && npm run lint && npm run test -- --coverage"
},
"husky": {
"hooks": {
"pre-commit": "npm run build-types && git add types && lint-staged"
}
},
"lint-staged": {
"**/*.{ts,tsx,js,jsx}": [
"eslint",
"prettier --write"
],
"**/*.{md,yml,json,eslintrc,prettierrc}": [
"prettier --write"
]
},
"devDependencies": {
"@babel/preset-react": "latest",
"@lunde/babel-preset-es": "latest",
"@testing-library/jest-dom": "latest",
"@testing-library/react": "latest",
"@testing-library/react-hooks": "latest",
"@testing-library/user-event": "latest",
"@types/jest": "latest",
"@types/react": "latest",
"@types/react-dom": "latest",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"babel-plugin-annotate-pure-calls": "latest",
"babel-plugin-optimize-react": "latest",
"eslint": "latest",
"eslint-import-resolver-jest": "latest",
"eslint-plugin-jest": "latest",
"eslint-plugin-react": "latest",
"eslint-plugin-react-hooks": "latest",
"husky": "latest",
"jest": "latest",
"lint-staged": "latest",
"mock-raf": "^1.0.1",
"prettier": "latest",
"react": "latest",
"react-dom": "latest",
"react-test-renderer": "latest",
"ts-jest": "latest",
"typescript": "latest"
},
"dependencies": {
"@accessible/visually-hidden": "^1.1.0",
"@essentials/raf": "^1.1.3",
"@react-hook/merged-ref": "^1.1.1",
"@react-hook/passive-layout-effect": "^1.0.3"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
}
}