-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
116 lines (116 loc) · 4.1 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
{
"license": "SEE LICENSE IN LICENSE",
"scripts": {
"start:server": "RACK_ENV=test bundle exec rackup -p 9292",
"start:spec_sp": "cd ./spec/support/spec_sp/ && bundle install && RACK_ENV=test bundle exec rackup -p 4567",
"cypress:open": "cypress open",
"cypress:ci": "start-test start:server http-get://localhost:9292/health start:spec_sp http-get://localhost:4567/ 'cypress run'",
"start": "yarn build-saml-assets && parcel serve ./client/src/index.tsx ",
"build": "yarn build-saml-assets && parcel build ./client/src/index.tsx --dist-dir ./public --log-level=warn",
"typecheck": "tcm client/src && tsc --noEmit --project client/tsconfig.json && git clean client/src -f -x",
"build-saml-assets": "parcel build assets/saml.* --dist-dir ./public",
"clean": "rm -rf client/dist && rm -rf .parcel-cache && git clean -f -x ./public/",
"test": "jest",
"lint": "eslint 'client/src/**/*.{js,jsx,ts,tsx}'",
"lintfix": "eslint 'client/src/**/*.{js,jsx,ts,tsx}' --fix",
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
},
"devDependencies": {
"@babel/core": "^7.14.0",
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
"@babel/preset-typescript": "^7.13.0",
"@parcel/babel-preset-env": "^2.0.0-alpha.3",
"@parcel/optimizer-cssnano": "^2.0.0-nightly.600",
"@parcel/packager-css": "^2.0.0-nightly.600",
"@parcel/transformer-css": "^2.0.0-nightly.600",
"@parcel/transformer-less": "^2.0.0-nightly.600",
"@parcel/transformer-postcss": "^2.0.0-nightly.600",
"@parcel/transformer-svg-react": "^2.0.0-nightly.1739",
"@rfgamaral/parcel-plugin-typings-for-css-modules": "^1.0.4",
"@svgr/parcel-plugin-svgr": "^5.4.0",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.6",
"@types/enzyme": "^3.10.8",
"@types/node": "^15.0.1",
"@types/react": "^17.0.8",
"@types/react-dom": "^17.0.3",
"@types/react-router-dom": "^5.1.7",
"@types/webpack-env": "^1.16.0",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.24.0",
"autoprefixer": "^10.2.5",
"babel-plugin-import": "^1.13.3",
"browserslist": "^4.16.5",
"chrome-remote-interface": "^0.30.0",
"chromium": "^3.0.2",
"cypress": "^7.2.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-simple-import-sort": "^7.0.0",
"faker": "^5.5.3",
"husky": "6",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"jest-fetch-mock": "^3.0.3",
"less": "^4.1.1",
"parcel": "^2.0.0-nightly.605",
"parcel-plugin-bundle-visualiser": "^1.2.0",
"pinst": "^2.1.6",
"postcss": "^8.2.13",
"postcss-modules": "^4.0.0",
"prettier": "^2.2.1",
"start-server-and-test": "^1.12.1",
"typescript": "^4.2.4",
"typescript-plugin-css-modules": "^3.2.0"
},
"dependencies": {
"@ant-design/colors": "^6.0.0",
"@ant-design/icons": "^4.5.0",
"@enterprise-oss/ant-theme": "^1.0.7",
"@enterprise-oss/osso": "^0.1.3",
"@sentry/react": "^6.3.4",
"antd": "^4.16.0",
"date-fns": "^2.21.1",
"posthog-js": "^1.9.7",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-copy-to-clipboard": "^5.0.3",
"react-dom": "^17.0.1",
"react-router-dom": "^5.2.0",
"use-debounce": "^6.0.1"
},
"browserslist": {
"development": [
"last 1 Chrome version"
],
"production": [
"defaults"
]
},
"jest": {
"moduleNameMapper": {
"\\.(png|svg)$": "<rootDir>/client/__mocks__/fileMock.js",
"\\.(css|less)$": "identity-obj-proxy",
"~(.*)$": "<rootDir>/$1",
"@enterprise-oss/ant-theme": "identity-obj-proxy"
},
"testPathIgnorePatterns": [
"<rootDir>/.yalc/*",
"<rootDir>/node_modules/*",
"<rootDir>/cypress/*"
],
"setupFiles": [
"<rootDir>/client/jest.setup.js"
]
},
"engines": {
"node": ">= 14.4.0"
}
}