-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
127 lines (127 loc) · 3.75 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
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "react-micro-modal",
"version": "0.0.0-development",
"description": "React accessible micro modal component",
"keywords": [
"react",
"micro",
"modal",
"component",
"accessible",
"frontend"
],
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"umd:main": "dist/index.umd.js",
"jsnext:main": "dist/index.esm.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"files": [
"dist"
],
"author": "Matej <ematej.snuderl@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/Meemaw/react-micro-modal"
},
"bugs": {
"url": "https://github.com/Meemaw/react-micro-modal/issues"
},
"license": "MIT",
"engines": {
"node": ">=10.22.0"
},
"scripts": {
"start": "yarn storybook",
"test": "jest",
"prebuild": "rimraf dist",
"build": "concurrently \"yarn build:rollup\" \"yarn build:types\" && yarn copy:css",
"build:types": "tsc --p tsconfig.build.json --declaration --outDir dist --emitDeclarationOnly",
"build:rollup": "rollup -c rollup.config.js",
"copy:css": "cp src/index.css dist",
"commit": "git-cz",
"semantic-release": "semantic-release",
"storybook": "start-storybook",
"lint": "concurrently \"npm run prettier\" \"npm run eslint\"",
"eslint": "eslint --max-warnings 0 --ext .ts 'src/**/*'",
"prettier": "prettier -l 'src/**/*'",
"prettier:fix": "prettier -l 'src/**/*' --write"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@commitlint/cli": "12.0.1",
"@commitlint/config-conventional": "12.0.1",
"@rollup/plugin-commonjs": "17.1.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "11.2.0",
"@rollup/plugin-replace": "2.4.1",
"@storybook/addon-a11y": "6.1.21",
"@storybook/addon-storysource": "6.1.21",
"@storybook/addons": "6.1.21",
"@storybook/react": "6.1.21",
"@testing-library/jest-dom": "5.11.9",
"@testing-library/react": "11.2.5",
"@testing-library/user-event": "13.0.6",
"@types/fs-extra": "9.0.8",
"@types/jest": "26.0.21",
"@types/lodash": "4.14.170",
"@types/node": "14.14.35",
"@types/react": "17.0.2",
"@types/react-dom": "17.0.2",
"@types/rollup-plugin-peer-deps-external": "2.2.0",
"@typescript-eslint/eslint-plugin": "4.18.0",
"@typescript-eslint/parser": "4.18.0",
"babel-loader": "8.2.2",
"commitizen": "4.2.3",
"concurrently": "6.0.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "7.22.0",
"eslint-config-airbnb": "18.2.1",
"eslint-config-prettier": "7.2.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jest": "24.3.2",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-react-hooks": "4.2.0",
"eslint-plugin-testing-library": "3.10.2",
"husky": "4.3.8",
"jest": "26.6.3",
"jest-environment-jsdom-sixteen": "1.0.3",
"prettier": "2.2.1",
"pretty-quick": "3.1.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"rimraf": "3.0.2",
"rollup": "2.42.1",
"rollup-plugin-peer-deps-external": "2.2.4",
"rollup-plugin-sourcemaps": "0.6.3",
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-typescript2": "0.30.0",
"semantic-release": "17.4.2",
"ts-jest": "26.5.4",
"ts-node": "9.1.1",
"typescript": "4.2.4"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "pretty-quick --staged",
"pre-push": "yarn test"
}
}
}