-
Notifications
You must be signed in to change notification settings - Fork 46
/
package.json
162 lines (162 loc) · 6.4 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
{
"name": "box-annotations",
"version": "5.0.0",
"description": "Box Annotations",
"author": "Box (https://www.box.com/)",
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "git@github.com:box/box-annotations.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"engines": {
"node": ">=18.x",
"yarn": ">=1.10.x"
},
"devDependencies": {
"@babel/cli": "^7.25.9",
"@babel/core": "^7.25.9",
"@babel/eslint-parser": "^7.24.7",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-transform-flow-strip-types": "^7.25.9",
"@babel/plugin-transform-object-assign": "^7.25.9",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.25.9",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.25.9",
"@box/frontend": "^10.0.0",
"@box/languages": "^1.1.0",
"@cfaester/enzyme-adapter-react-18": "^0.8.0",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.2.0",
"@formatjs/intl-pluralrules": "^1.5.5",
"@formatjs/intl-relativetimeformat": "^4.5.12",
"@popperjs/core": "^2.4.0",
"@reduxjs/toolkit": "^1.3.5",
"@types/classnames": "^2.2.10",
"@types/draft-js": "^0.10.40",
"@types/enzyme": "^3.10.5",
"@types/jest": "^24.9.0",
"@types/lodash": "^4.14.150",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@types/react-redux": "^7.1.33",
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"autoprefixer": "^9.7.6",
"axios": "^0.24.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.3.0",
"babel-plugin-istanbul": "^6.0.0",
"babel-plugin-react-intl": "^7.5.1",
"babel-plugin-transform-require-ignore": "^0.1.1",
"box-node-sdk": "^1.33.0",
"box-ui-elements": "^20.0.0",
"circular-dependency-plugin": "^5.2.0",
"classnames": "^2.2.5",
"conventional-github-releaser": "^3.1.3",
"core-js": "^3.38.1",
"css-loader": "^3.5.2",
"cypress": "^4.4.1",
"draft-js": "0.10.5",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.4.4",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-cypress": "^2.10.3",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-formatjs": "^4.13.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-lodash": "^7.4.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "^4.6.0",
"formik": "^2.1.4",
"husky": "^3.1.0",
"jest": "^24.9.0",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom-sixteen": "^1.0.3",
"lint-staged": "^9.5.0",
"lodash": "^4.17.15",
"mini-css-extract-plugin": "^0.9.0",
"npm-run-all": "^4.1.5",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-loader": "^3.0.0",
"prettier": "^1.19.1",
"raw-loader": "^4.0.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-intl": "6.4.2",
"react-redux": "^9.1.2",
"react-tether": "1.0.5",
"react-textarea-autosize": "^7.1.2",
"redux": "^4.0.5",
"regenerator-runtime": "^0.13.9",
"sass": "^1.64.1",
"sass-loader": "^8.0.2",
"scroll-into-view-if-needed": "^2.2.24",
"style-loader": "^1.1.4",
"stylelint": "^12.0.0",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^19.0.0",
"stylelint-order": "^3.1.1",
"tabbable": "^1.1.3",
"terser-webpack-plugin": "^4.2.3",
"typescript": "4.9.5",
"uuid": "^8.3.1",
"wait-on": "^4.0.2",
"webpack": "^4.47.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3",
"worker-farm": "^1.7.0"
},
"scripts": {
"build": "yarn setup && yarn build:prod:dist",
"build:i18n": "props2es",
"build:dev:dist": "LANGUAGE=en-US BABEL_ENV=dev NODE_ENV=dev webpack --config scripts/webpack.config.js --mode development --progress --colors",
"build:prod:dist": "LANGUAGE=en-US BABEL_ENV=production NODE_ENV=production webpack --config scripts/webpack.config.js --mode production",
"clean": "rm -rf dist reports/* i18n/json i18n/*.js",
"cy:open": "yarn cy:wait; yarn cypress open",
"cy:run": "yarn cy:wait; yarn cypress run --spec test/integration/**/*.test.js",
"cy:wait": "wait-on http-get://localhost:8001",
"lint": "npm-run-all lint:*",
"lint:js": "eslint .",
"lint:scss": "stylelint \"src/**/*.scss\" --syntax scss",
"lint:ts": "tsc && eslint --ext=.tsx,.ts --max-warnings=0 .",
"release:cdn": "yarn setup; node ./scripts/prod.js",
"release:custom": "scripts/release.sh -c",
"release:major": "scripts/release.sh -m",
"release:minor": "scripts/release.sh -n",
"release:patch": "scripts/release.sh -p",
"release:pre": "scripts/release.sh -x",
"setup": "yarn install && yarn clean && yarn build:i18n",
"start": "yarn setup && yarn build:dev:dist --watch",
"start:dev": "yarn setup && LANGUAGE=en-US BABEL_ENV=dev NODE_ENV=dev yarn webpack-dev-server --config scripts/webpack.config.js --mode development",
"start:linked": "IS_LINKED=1 yarn start",
"test": "BABEL_ENV=test NODE_ENV=test yarn jest",
"test:e2e": "node scripts/cypress.js",
"test:e2e:open": "node scripts/cypress.js -o",
"test:watch": "yarn test --watch"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e",
"pre-commit": "lint-staged",
"pre-push": "./scripts/prepush.sh"
}
},
"resolutions": {
"**/react-intl/**/@types/react": "^18.3.12",
"**/@types/react": "^18.3.12",
"**/@types/react-dom": "^18.2.0"
}
}