UNPKG

5.13 kBJSONView Raw
1{
2 "name": "gridjs",
3 "version": "5.0.2",
4 "description": "Advanced table plugin",
5 "author": "Afshin Mehrabani <afshin.meh@gmail.com>",
6 "license": "MIT",
7 "keywords": [
8 "grid",
9 "table",
10 "gridjs",
11 "list",
12 "filter",
13 "search",
14 "sort",
15 "pagination",
16 "react",
17 "angular",
18 "jquery"
19 ],
20 "homepage": "https://gridjs.io",
21 "repository": "https://github.com/grid-js/gridjs",
22 "types": "dist/index.d.ts",
23 "files": [
24 "dist/*",
25 "l10n/dist/*",
26 "plugins/!(node_modules)/dist/*"
27 ],
28 "exports": {
29 ".": {
30 "browser": "./dist/gridjs.module.js",
31 "umd": "./dist/gridjs.umd.js",
32 "import": "./dist/gridjs.mjs",
33 "require": "./dist/gridjs.js"
34 },
35 "./legacy": {
36 "umd": "./dist/gridjs.production.min.js",
37 "browser": "./dist/gridjs.production.es.min.js"
38 },
39 "./l10n": {
40 "browser": "./l10n/dist/l10n.module.js",
41 "umd": "./l10n/dist/l10n.umd.js",
42 "require": "./l10n/dist/l10n.js",
43 "import": "./l10n/dist/l10n.mjs"
44 },
45 "./plugins/selection": {
46 "browser": "./plugins/selection/dist/selection.module.js",
47 "umd": "./plugins/selection/dist/selection.umd.js",
48 "require": "./plugins/selection/dist/selection.js",
49 "import": "./plugins/selection/dist/selection.mjs"
50 },
51 "./package.json": "./package.json",
52 "./": "./"
53 },
54 "main": "dist/gridjs.js",
55 "module": "dist/gridjs.module.js",
56 "umd:main": "dist/gridjs.umd.js",
57 "source": "index.ts",
58 "devDependencies": {
59 "@types/enzyme": "^3.10.5",
60 "@types/jest": "^26.0.0",
61 "@types/jest-axe": "^3.2.2",
62 "@types/node": "^15.3.0",
63 "@typescript-eslint/eslint-plugin": "~4.26.1",
64 "@typescript-eslint/parser": "~4.26.0",
65 "autoprefixer": "^9.8.0",
66 "axe-core": "^4.0.0",
67 "check-export-map": "^1.1.1",
68 "cssnano": "^5.0.5",
69 "cypress": "^7.4.0",
70 "cypress-visual-regression": "^1.5.7",
71 "enzyme": "^3.11.0",
72 "enzyme-adapter-preact-pure": "^3.0.0",
73 "eslint": "~7.28.0",
74 "eslint-config-prettier": "^6.11.0",
75 "eslint-plugin-jest": "~24.3.2",
76 "identity-obj-proxy": "^3.0.0",
77 "jest": "~26.6.3",
78 "jest-axe": "^5.0.1",
79 "jest-extended": "^0.11.5",
80 "jsdom": "^16.2.2",
81 "jsdom-global": "^3.0.2",
82 "lerna-changelog": "^1.0.1",
83 "microbundle": "^0.13.0",
84 "node-sass": "^5.0.0",
85 "node-sass-chokidar": "^1.5.0",
86 "npm-run-all": "^4.1.5",
87 "postcss": "^8.3.0",
88 "postcss-cli": "^8.3.1",
89 "postcss-nested": "^5.0.5",
90 "postcss-scss": "^3.0.5",
91 "postcss-sort-media-queries": "^3.10.11",
92 "prettier": "~2.3.1",
93 "rimraf": "~3.0.2",
94 "source-map-loader": "^2.0.1",
95 "start-server-and-test": "^1.12.3",
96 "ts-jest": "^26.5.5",
97 "ts-loader": "^9.1.1",
98 "tsutils": "~3.21.0",
99 "typescript": "^4.2.4"
100 },
101 "scripts": {
102 "prepare": "find . ! -path '*/node_modules/*' ! -path './package.json' ! -path './tests/dev-server/package.json' -name 'package.json' -execdir npm install \\;",
103 "clean": "rimraf coverage dist tmp l10n/dist 'plugins/!(node_modules)/dist'",
104 "prebuild": "npm run clean",
105 "build": "run-p build:grid build:i18n build:plugins build:themes",
106 "build:grid": "microbundle build --raw --external none --tsconfig tsconfig.release.json",
107 "build:i18n": "microbundle build --raw --cwd l10n --tsconfig l10n/tsconfig.release.json",
108 "build:plugins": "microbundle build --raw --cwd plugins/selection --tsconfig plugins/selection/tsconfig.release.json",
109 "postbuild": "node build/node-13-exports.js",
110 "prebuild:themes": "node-sass --include-path scss src/theme/mermaid/index.scss dist/theme/mermaid.css",
111 "build:themes-dev": "postcss dist/theme/mermaid.css --output dist/theme/mermaid.css --env development --verbose",
112 "build:themes-prod": "postcss dist/theme/mermaid.css --output dist/theme/mermaid.min.css --env production --verbose",
113 "build:themes": "run-p build:themes-dev build:themes-prod",
114 "prettier": "prettier --write '(src|tests|plugins|i18n)/**/*.(ts|tsx|js|scss|css)'",
115 "lint": "eslint . --ext .ts,.tsx",
116 "test": "run-p lint test:prettier test:check-exports test:jest test:e2e",
117 "test:prettier": "prettier --check '(src|tests|plugins|i18n)/**/*.(ts|tsx|js|scss|css)'",
118 "test:jest": "jest --coverage --silent --ci --coverage --coverageReporters=\"text\" --coverageReporters=\"text-summary\"",
119 "test:cypress": "cd tests && cypress run",
120 "test:check-exports": "check-export-map",
121 "test:dev-server": "cd tests/dev-server && npm install && npm start",
122 "test:e2e": "start-server-and-test test:dev-server http://localhost:8080 test:cypress",
123 "test:watch": "jest --watch"
124 },
125 "dependencies": {
126 "preact": "^10.5.12",
127 "tslib": "^2.0.1"
128 },
129 "changelog": {
130 "labels": {
131 "new feature": ":rocket: New Feature",
132 "breaking": ":boom: Breaking Change",
133 "bug fix": ":bug: Bug Fix",
134 "polish": ":nail_care: Polish",
135 "documentation": ":memo: Documentation",
136 "internal": ":house: Internal",
137 "performance": ":running_woman: Performance"
138 },
139 "cacheDir": ".changelog"
140 }
141}