1 | {
|
2 | "name": "ag-grid-react",
|
3 | "version": "28.1.1",
|
4 | "description": "AG Grid React Component",
|
5 | "main": "main.js",
|
6 | "typings": "./main.d.ts",
|
7 | "scripts": {
|
8 | "clean": "rimraf bundles lib .hash",
|
9 | "build": "npx gulp && npm run hash",
|
10 | "build-prod": "npm run build",
|
11 | "umd": "npx rollup -c",
|
12 | "testx": "npx jest",
|
13 | "test:e2ex": "npx gulp link-umd-e2e && npm run cypress:e2e && npm run cypress:components",
|
14 | "test:watch": "npx jest --watch",
|
15 | "test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
16 | "cypress:open": "npx cross-env NODE_ENV=test npx cypress open",
|
17 | "cypress:e2e": "npx cross-env NODE_ENV=test npx cypress run --spec 'cypress/integration/*spec.js'",
|
18 | "cypress:components": "npx cross-env NODE_ENV=test npx cypress run --spec 'cypress/components/**/*spec.js'",
|
19 | "hash": "sh ../../scripts/hashDirectory.sh > .hash"
|
20 | },
|
21 | "repository": {
|
22 | "type": "git",
|
23 | "url": "https://github.com/ag-grid/ag-grid.git"
|
24 | },
|
25 | "keywords": [
|
26 | "react-component",
|
27 | "grid",
|
28 | "data",
|
29 | "table",
|
30 | "react"
|
31 | ],
|
32 | "author": "Niall Crosby <niall.crosby@ag-grid.com>",
|
33 | "license": "MIT",
|
34 | "bugs": {
|
35 | "url": "https://github.com/ag-grid/ag-grid/issues"
|
36 | },
|
37 | "homepage": "https://www.ag-grid.com/react-grid/",
|
38 | "devDependencies": {
|
39 | "@babel/runtime": "^7.16.3",
|
40 | "prop-types": "^15.6.2",
|
41 | "ag-grid-community": "~28.1.0",
|
42 | "@ag-grid-community/react": "~28.1.0",
|
43 | "@ag-grid-community/client-side-row-model": "~28.1.0",
|
44 | "@ag-grid-community/core": "~28.1.0",
|
45 | "gulp": "^4.0.0",
|
46 | "gulp-clean": "^0.4.0",
|
47 | "gulp-header": "^2.0.0",
|
48 | "gulp-merge": "^0.1.1",
|
49 | "gulp-sourcemaps": "^2.6.0",
|
50 | "gulp-typescript": "^5.0.0",
|
51 | "react": "^16.9.0",
|
52 | "react-dom": "^16.9.0",
|
53 | "@types/react": "~18.0.0",
|
54 | "@types/react-dom": "~18.0.0",
|
55 | "rollup": "~0.67.3",
|
56 | "rollup-plugin-commonjs": "^9.1.6",
|
57 | "rollup-plugin-typescript": "^1.0.0",
|
58 | "rollup-plugin-uglify": "^6.0.0",
|
59 | "vinyl-source-stream": "^2.0.0",
|
60 | "gulp-replace": "^1.0.0",
|
61 | "rollup-stream": "^1.24.0",
|
62 | "lnk": "^1.1.0",
|
63 | "jest": "26.6.0",
|
64 | "enzyme": "^3.10.0",
|
65 | "enzyme-adapter-react-16": "^1.14.0",
|
66 | "cypress": "^5.6.0",
|
67 | "cypress-react-unit-test": "^4.17.0",
|
68 | "react-app-polyfill": "^2.0.0",
|
69 | "jest-circus": "26.6.0",
|
70 | "jest-watch-typeahead": "0.6.1",
|
71 | "@babel/preset-typescript": "7.15.0",
|
72 | "@babel/plugin-proposal-throw-expressions": "7.14.5",
|
73 | "babel-preset-react-app": "^10.0.0",
|
74 | "webpack": "^5.64.4",
|
75 | "typescript": "~3.7.7",
|
76 | "rimraf": "3.0.2"
|
77 | },
|
78 | "dependencies": {
|
79 | "prop-types": "^15.8.1"
|
80 | },
|
81 | "peerDependencies": {
|
82 | "ag-grid-community": "~28.1.0",
|
83 | "react": "^16.3.0 || ^17.0.0 || ^18.0.0",
|
84 | "react-dom": "^16.3.0 || ^17.0.0 || ^18.0.0"
|
85 | },
|
86 | "eslintConfig": {
|
87 | "extends": [
|
88 | "react-app",
|
89 | "react-app/jest"
|
90 | ]
|
91 | },
|
92 | "browserslist": {
|
93 | "production": [
|
94 | "> 1%",
|
95 | "last 2 versions",
|
96 | "not ie >= 0",
|
97 | "not ie_mob >= 0",
|
98 | "not dead",
|
99 | "not op_mini all"
|
100 | ],
|
101 | "development": [
|
102 | "last 1 chrome version",
|
103 | "last 1 firefox version",
|
104 | "last 1 safari version"
|
105 | ]
|
106 | },
|
107 | "jest": {
|
108 | "roots": [
|
109 | "<rootDir>/src"
|
110 | ],
|
111 | "collectCoverageFrom": [
|
112 | "src/**/*.{js,jsx,ts,tsx}",
|
113 | "!src/**/*.d.ts"
|
114 | ],
|
115 | "setupFiles": [
|
116 | "react-app-polyfill/jsdom"
|
117 | ],
|
118 | "setupFilesAfterEnv": [
|
119 | "<rootDir>/jest/setupTests.ts"
|
120 | ],
|
121 | "testMatch": [
|
122 | "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
|
123 | "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
|
124 | ],
|
125 | "testEnvironment": "jsdom",
|
126 | "testRunner": "./node_modules/jest-circus/runner.js",
|
127 | "transform": {
|
128 | "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
|
129 | "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/jest/fileTransform.js"
|
130 | },
|
131 | "transformIgnorePatterns": [
|
132 | "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
|
133 | "^.+\\.module\\.(css|sass|scss)$"
|
134 | ],
|
135 | "modulePaths": [],
|
136 | "moduleNameMapper": {
|
137 | "^react-native$": "react-native-web",
|
138 | "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
|
139 | },
|
140 | "moduleFileExtensions": [
|
141 | "web.js",
|
142 | "js",
|
143 | "web.ts",
|
144 | "ts",
|
145 | "web.tsx",
|
146 | "tsx",
|
147 | "json",
|
148 | "web.jsx",
|
149 | "jsx",
|
150 | "node"
|
151 | ],
|
152 | "watchPlugins": [
|
153 | "jest-watch-typeahead/filename",
|
154 | "jest-watch-typeahead/testname"
|
155 | ],
|
156 | "resetMocks": true
|
157 | },
|
158 | "babel": {
|
159 | "presets": [
|
160 | "react-app"
|
161 | ]
|
162 | },
|
163 | "publishConfig": {
|
164 | "access": "public"
|
165 | }
|
166 | } |
\ | No newline at end of file |