-
Notifications
You must be signed in to change notification settings - Fork 63
/
package.json
183 lines (183 loc) · 8.31 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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{
"name": "@inovua/reactdatagrid",
"author": "Inovua Software Technologies <[email protected]>",
"homepage": "https://reactdatagrid.io",
"version": "4.0.2",
"description": "Empower Your Data with the best React Data Grid there is",
"repository": {
"type": "git",
"url": "https://github.com/inovua/reactdatagrid.git"
},
"bugs": {
"url": "https://github.com/inovua/reactdatagrid/issues"
},
"main": "index.js",
"scripts": {
"// **** run this in dev mode": "****//",
"watch-ts": "tsc --watch",
"//*****": "//",
"tsc": "tsc",
"tsc-gen-declarations": "(tsc -p ./.config/tsconfig-lib-declarations.json) || true",
"lib:style": "npx mkdirp lib/community-edition && npx mkdirp lib/enterprise-edition && node ./scripts/lib-style.js && npm run lib:postcss && cp lib/community-edition/index.css lib/enterprise-edition && cp lib/community-edition/base.css lib/enterprise-edition && cp -R lib/community-edition/theme lib/enterprise-edition",
"lib:postcss": "postcss lib/community-edition --replace --config .config",
"copy-files": "cp package.json lib/community-edition && cp package.json lib/enterprise-edition && cp ./community-edition/README.md ./lib/community-edition && cp ./enterprise-edition/README.md ./lib/enterprise-edition && cp ./community-edition/LICENSE.md ./lib/community-edition && cp ./enterprise-edition/LICENSE.md ./lib/enterprise-edition && cp .npmignore ./lib/community-edition && cp .npmignore ./lib/enterprise-edition",
"inject-license-header": "sh .config/community-licensify.sh && sh .config/enterprise-licensify.sh",
"//**** babel compilation": "****//",
"babel": "npm run babel:community && npm run babel:enterprise",
"babel:community": "BABEL_ENV=production babel community-edition -d lib/community-edition",
"babel:enterprise": "BABEL_ENV=production babel enterprise-edition -d lib/enterprise-edition",
"//**** build": "****//",
"build": "npm run doctoc && (npm run tsc || true) && rimraf lib && npm run lib:style && npm run babel && npm run copy-files && npm run build:package && npm run tsc-gen-declarations && npm run inject-license-header",
"build:package": "npm run build:package:community && npm run build:package:enterprise",
"build:package:community": "node ./scripts/cli/update-package --module=community-edition --edition=community",
"build:package:enterprise": "node ./scripts/cli/update-package --module=enterprise-edition --edition=enterprise",
"//**** prettify": "****//",
"pretty": "npm run pretty:community && npm run pretty:enterprise",
"pretty:community": "prettier --write \"community-edition/**/*.{js,jsx,json,css,scss}\" --fix",
"pretty:enterprise": "prettier --write \"enterprise-edition/**/*.{js,jsx,json,css,scss}\" --fix",
"prettystyle": "npm run prettystyle:community && npm run prettystyle:enterprise",
"prettystyle:community": "stylelint \"community-edition/**/*.scss\" --syntax scss --fix",
"prettystyle:enterprise": "stylelint \"enterprise-edition/**/*.scss\" --syntax scss --fix",
"//**** precommit hook": "****//",
"precommit": "lint-staged",
"//****": "****//",
"release": "npm run release:patch",
"//**** ": "****//",
"release:patch": "npm run build && release patch && npm run registry-publish",
"release:patch:nobuild": "release patch && npm run registry-publish",
"release:patch:canary:nobuild": "release patch pre canary && npm run registry-publish:canary",
"//**** ": "****//",
"release:minor": "npm run build && release minor && npm run registry-publish",
"release:minor:canary:nobuild": "release minor pre canary && npm run registry-publish:canary",
"release:major": "npm run build && release major && npm run registry-publish",
"//**** CANARY": "****//",
"minor:canary": "npm version preminor --preid=canary && npm run registry-publish:canary",
"patch:canary": "npm version prepatch --preid=canary && npm run registry-publish:canary",
"nobump:canary": "npm version prerelease --preid=canary && npm run registry-publish:canary",
"//**** BETA": "****//",
"minor:beta": "npm version preminor --preid=beta && npm run registry-publish:beta",
"patch:beta": "npm version prepatch --preid=beta && npm run registry-publish:beta",
"nobump:beta": "npm version prerelease --preid=beta && npm run registry-publish:beta",
"//**** registry publishing": "****//",
"registry-publish": "npm run doctoc && npm run build:package && npm publish --access public lib/community-edition && npm publish --access public lib/enterprise-edition",
"registry-publish:canary": "npm run doctoc && npm run build:package && npm publish --access public --tag canary lib/community-edition && npm publish --access public --tag canary lib/enterprise-edition",
"registry-publish:beta": "npm run doctoc && npm run build:package && npm publish --access public --tag beta lib/community-edition && npm publish --access public --tag beta lib/enterprise-edition",
"//**** run this when updating readme files": "****//",
"doctoc": "npx doctoc README.md CONTRIBUTING.md community-edition/README.md enterprise-edition/README.md enterprise-edition/LICENSE.md"
},
"stylelint": {
"extends": "stylelint-config-standard",
"rules": {
"no-duplicate-selectors": null,
"no-empty-source": null,
"block-no-empty": null,
"at-rule-no-unknown": null,
"selector-combinator-space-before": null,
"no-descending-specificity": null,
"function-comma-space-after": null,
"declaration-bang-space-before": null,
"selector-pseudo-element-colon-notation": null,
"declaration-colon-newline-after": null,
"selector-descendant-combinator-no-non-space": null,
"value-list-comma-newline-after": null
}
},
"lint-staged": {
"src/**/*.scss": [
"prettier --write",
"stylelint --syntax scss --fix",
"git add"
]
},
"devDependencies": {
"@babel/cli": "^7.10.3",
"@babel/core": "^7.10.3",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-transform-runtime": "^7.4.3",
"@babel/polyfill": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"@babel/runtime-corejs2": "^7.4.3",
"@types/react": "^16.8.13",
"@types/react-dom": "^16.8.4",
"autoprefixer": "^9.8.2",
"babel-core": "7.0.0-bridge.0",
"babel-preset-react-app": "^7.0.2",
"chalk": "^2.3.2",
"cpy-cli": "^3.0.0",
"css-loader": "^2.1.1",
"cssnano": "^4.1.10",
"debug": "^4.1.1",
"eslint": "^5.15.1",
"eslint-config-react-app": "^3.0.8",
"eslint-plugin-flowtype": "^2.50.3",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "^1.5.0",
"fs-extra": "^5.0.0",
"fs-promise": "^2.0.0",
"globby": "^6.1.0",
"husky": "^0.14.3",
"json-loader": "^0.5.4",
"lint-staged": "^7.0.0",
"mkdirp": "^0.5.1",
"moment": "^2.24.0",
"node-sass": "^4.13.0",
"pify": "^2.3.0",
"postcss-cli": "^7.1.1",
"postcss-discard-duplicates": "^4.0.2",
"prettier": "^1.11.1",
"prop-types": "^15.7.2",
"raw-loader": "^0.5.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"regenerator-runtime": "^0.11.1",
"release": "^6.0.1",
"rimraf": "^2.6.2",
"sass": "^1.23.3",
"sass-loader": "^7.1.0",
"sinon": "^1.17.5",
"sinon-chai": "^2.8.0",
"snake-case": "^2.1.0",
"style-loader": "^0.23.1",
"stylelint": "^9.1.3",
"stylelint-config-standard": "^18.2.0",
"typeface-roboto": "0.0.35",
"typescript": "^3.9.5",
"uglifyjs-folder": "^1.5.4",
"url-loader": "^1.1.2",
"webpack": "^4.29.6",
"webpack-cli": "^3.2.3",
"webpack-dev-server": "^3.2.1",
"yargs": "^15.3.1"
},
"peerDependencies": {
"prop-types": ">=15.5.0",
"react": ">=16.8.0-0",
"react-dom": ">=16.8.0-0"
},
"dependencies": {
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.throttle": "^4.1.6",
"fast-deep-equal": "^3.1.1",
"shallowequal": "0.2.2",
"object-assign": "^4.1.1",
"lodash.debounce": "^4.0.8",
"lodash.throttle": "^4.1.1",
"resize-observer-polyfill": "^1.5.1",
"tslib": "^2.0.0"
},
"keywords": [
"react",
"datagrid",
"table",
"data-grid"
],
"browserslist": [
">0.2%",
"not dead",
"not ie < 11",
"not op_mini all"
]
}