-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
163 lines (163 loc) · 5.73 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"name": "@cision/rover-ui",
"version": "4.1.3",
"description": "UI Component Library",
"author": "Matthew Wells (https://github.com/mdespuits)",
"contributors": [
"Matthew Wells (https://github.com/mdespuits)",
"Chelsea Shaw <chelshaw.dev@gmail.com> (https://github.com/chelshaw)",
"Chris Garcia <pixelbandito@gmail.com> (https://github.com/pixelbandito)"
],
"license": "MIT",
"repository": "cision/rover-ui",
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.module.js",
"jsnext:main": "dist/index.es.js",
"engines": {
"node": ">=12"
},
"husky": {
"hooks": {
"pre-commit": "yarn pre-commit"
}
},
"lint-staged": {
"*.{js,jsx,json,md,ts,tsx}": [
"prettier --write",
"git add"
],
"*.css": [
"stylelint --fix",
"git add"
],
"*.{js,jsx,ts,tsx}": [
"eslint",
"git add"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js",
"!src/**/(test|story).js"
]
},
"scripts": {
"eslint:commit": "read -r CHANGES <<< `git diff-index --name-only HEAD | grep '\\(src\\|test\\)/.\\+\\.js$' | tr '\\n' ' '`; if [[ $CHANGES ]]; then yarn eslint ${CHANGES}; fi;",
"pre-commit": "run-p -l pre-commit:*",
"pre-commit:lint": "yarn lint-staged",
"pre-commit:types": "yarn tsc",
"pre-commit:test": "yarn test",
"test": "cross-env CI=1 react-scripts test --env jest-environment-jsdom-sixteen",
"test:watch": "react-scripts test --env jest-environment-jsdom-sixteen",
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache --env jest-environment-jsdom-sixteen",
"compile": "microbundle-crl --raw --format modern,cjs --no-compress --tsconfig tsconfig.build.json --css-modules 'rvr-[local]__[hash:base64:3]' && mv dist/index.css dist/rover-ui.css",
"build": "yarn compile",
"start": "yarn compile --watch",
"generate-component": "yarn hygen component new",
"prepare": "",
"prepublish": "in-publish && run-p -l test build || not-in-publish",
"predeploy": "cd example && yarn install && yarn build",
"postpublish": "git push --tags && echo \"Successfully released version $npm_package_version!\"",
"preversion": "run-p -l test build",
"version": "yarn update-changelog && git add CHANGELOG.md",
"new-version": "yarn version --no-git-tag-version",
"postnew-version": "git add . && git commit -m \"v$npm_package_version\" -n",
"storybook": "start-storybook -p 9009",
"storybook:build": "build-storybook -o docs",
"storybook:deploy": "yarn storybook:build && yarn gh-pages -d docs",
"update-changelog": "auto-changelog --commit-limit false --package"
},
"peerDependencies": {
"prop-types": "^15.5.4",
"react": "^16.9.0",
"react-dom": "^16.9.0"
},
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/plugin-proposal-optional-chaining": "^7.10.0",
"@babel/plugin-transform-react-jsx": "^7.9.4",
"@babel/preset-env": "^7.9.6",
"@babel/preset-react": "^7.9.4",
"@storybook/addon-a11y": "^5.3.19",
"@storybook/addon-actions": "^5.3.19",
"@storybook/addon-backgrounds": "^5.3.19",
"@storybook/addon-info": "5.3.19",
"@storybook/addon-knobs": "^5.3.19",
"@storybook/addon-links": "^5.3.19",
"@storybook/addons": "^5.3.19",
"@storybook/preset-create-react-app": "^3.0.0",
"@storybook/react": "^5.3.19",
"@testing-library/jest-dom": "5.11.9",
"@testing-library/react": "11.2.5",
"@testing-library/react-hooks": "5.1.0",
"@testing-library/user-event": "13.0.2",
"@types/classnames": "^2.2.10",
"@types/enzyme": "^3.10.5",
"@types/jest": "^25.1.4",
"@types/lodash": "^4.14.153",
"@types/node": "^14.0.4",
"@types/react": "^16.9.27",
"@types/react-dom": "^16.9.8",
"@types/react-transition-group": "^4.4.0",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"auto-changelog": "^2.0.0",
"babel-eslint": "^10.1.0",
"babel-loader": "8.1.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-es2017-object-entries": "^0.0.5",
"cross-env": "^7.0.2",
"cssnano": "^4.1.10",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.13.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-typescript": "^7.2.1",
"eslint-config-prettier": "^6.7.0",
"eslint-config-react": "^1.1.7",
"eslint-config-standard": "^14.1.0",
"eslint-config-standard-react": "^9.2.0",
"eslint-import-resolver-alias": "^1.0.3",
"eslint-import-resolver-webpack": "^0.12.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^23.18.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-mocha": "^7.0.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^4.0.0",
"eslint-plugin-standard": "^4.0.1",
"fork-ts-checker-webpack-plugin": "^4.1.3",
"gh-pages": "^2.2.0",
"husky": "^1.3.1",
"hygen": "^4.0.2",
"in-publish": "^2.0.1",
"jest-environment-jsdom-sixteen": "2.0.0",
"lint-staged": "^8.1.4",
"microbundle-crl": "^0.13.10",
"npm-run-all": "^4.1.5",
"postcss-calc": "^7.0.1",
"postcss-custom-properties": "^8.0.9",
"prettier": "^2.0.5",
"prop-types": "^15.5.4",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-scripts": "^3.4.1",
"storybook-readme": "^5.0.2",
"stylelint": "^9.10.1",
"stylelint-config-standard": "^18.2.0",
"ts-loader": "^7.0.2",
"typescript": "^3.9.3"
},
"files": [
"dist"
],
"dependencies": {
"@cision/react-container-query": "1.0.0-alpha.3",
"classnames": "^2.2.6",
"lodash": "^4.17.19",
"nanoid": "^3.1.23"
}
}