forked from box/box-annotations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
158 lines (158 loc) · 6.17 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
{
"name": "box-annotations",
"version": "4.0.0-beta.17",
"description": "Box Annotations",
"author": "Box (https://www.box.com/)",
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "[email protected]:box/box-annotations.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"engines": {
"node": ">=10.x",
"yarn": ">=1.10.x"
},
"dependencies": {
"@formatjs/intl-pluralrules": "^1.5.5",
"@formatjs/intl-relativetimeformat": "^4.5.12",
"@popperjs/core": "^2.4.0",
"@reduxjs/toolkit": "^1.3.5",
"@types/react-redux": "^7.1.7",
"axios": "^0.19.2",
"box-ui-elements": "^12.0.0-beta.77",
"classnames": "^2.2.5",
"draft-js": "0.10.5",
"formik": "^2.1.4",
"lodash": "^4.17.15",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-intl": "^3.12.0",
"react-redux": "^7.2.0",
"react-tether": "1.0.5",
"react-textarea-autosize": "^7.1.2",
"redux": "^4.0.5",
"scroll-into-view-if-needed": "^2.2.24"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-transform-flow-strip-types": "^7.9.0",
"@babel/plugin-transform-object-assign": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/polyfill": "^7.8.7",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"@babel/preset-typescript": "^7.9.0",
"@box/frontend": "^6.4.0",
"@box/languages": "^1.1.0",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.2.0",
"@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": "^16.9.0",
"@types/react-dom": "^16.9.0",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
"autoprefixer": "^9.7.6",
"babel-eslint": "^10.1.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.1.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",
"circular-dependency-plugin": "^5.2.0",
"conventional-github-releaser": "^3.1.3",
"core-js": "^3.6.5",
"css-loader": "^3.5.2",
"cypress": "^4.4.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.4",
"eslint": "^6.7.2",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-cypress": "^2.10.3",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-formatjs": "^1.5.4",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-lodash": "^6.0.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^1.7.0",
"husky": "^3.1.0",
"jest": "^24.9.0",
"jest-canvas-mock": "^2.2.0",
"jest-environment-jsdom-sixteen": "^1.0.3",
"lint-staged": "^9.5.0",
"mini-css-extract-plugin": "^0.9.0",
"node-sass": "^4.13.1",
"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",
"sass-loader": "^8.0.2",
"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",
"typescript": "^3.8.3",
"uglifyjs-webpack-plugin": "^2.2.0",
"wait-on": "^4.0.2",
"webpack": "^4.43.0",
"webpack-bundle-analyzer": "^3.7.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": "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": {
"uglify-es": "3.3.4"
}
}