-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
95 lines (95 loc) · 2.61 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
{
"version": "0.3.2",
"license": "MIT",
"name": "@zach.codes/react-calendar",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src",
"tw-check.js"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build && npm run build-tailwind",
"test": "tsdx test",
"postinstall": "node tw-check.js",
"lint": "tsdx lint",
"prepare": "tsdx build && npm run build-tailwind",
"size": "size-limit",
"analyze": "size-limit --why",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"build-tailwind": "NODE_ENV=production tailwindcss build src/tailwind.css -o dist/calendar-tailwind.css && NODE_ENV=production TW_PREFLIGHT=false tailwindcss build src/tailwind.css -o dist/calendar-tailwind-no-reset.css"
},
"peerDependencies": {
"date-fns": ">=2",
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"author": "Zach Silveira",
"module": "dist/react-calendar.esm.js",
"size-limit": [
{
"path": "dist/react-calendar.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/react-calendar.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@babel/core": "^7.13.8",
"@sinonjs/fake-timers": "^7.0.2",
"@size-limit/preset-small-lib": "^4.10.1",
"@storybook/addon-essentials": "^6.1.21",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.1.21",
"@storybook/addons": "^6.1.21",
"@storybook/react": "^6.1.21",
"@tailwindcss/postcss7-compat": "^2.0.3",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@types/jest": "^26.0.20",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.1",
"autoprefixer": "^9",
"babel-loader": "^8.2.2",
"date-fns": "^2.19.0",
"husky": "^5.1.3",
"identity-obj-proxy": "^3.0.0",
"postcss": "^7",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-is": "^17.0.1",
"rollup-plugin-postcss": "^4.0.0",
"size-limit": "^4.10.1",
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
"tsdx": "^0.14.1",
"tslib": "^2.1.0",
"typescript": "^4.2.3"
},
"jest": {
"setupFiles": [
"./test/setup.js"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less|scss|sass)$": "identity-obj-proxy"
}
}
}