UNPKG

3.71 kBJSONView Raw
1{
2 "name": "@blueprintjs/core",
3 "version": "4.13.0",
4 "description": "Core styles & components",
5 "main": "lib/cjs/index.js",
6 "module": "lib/esm/index.js",
7 "esnext": "lib/esnext/index.js",
8 "typings": "lib/esm/index.d.ts",
9 "style": "lib/css/blueprint.css",
10 "unpkg": "dist/core.bundle.js",
11 "sideEffects": [
12 "**/*.css",
13 "lib/esm/components/index.js",
14 "lib/esm/common/configureDom4.js",
15 "lib/esnext/components/index.js",
16 "lib/esnext/common/configureDom4.js",
17 "lib/cjs/components/index.js",
18 "lib/cjs/common/configureDom4.js"
19 ],
20 "bin": {
21 "upgrade-blueprint-2.0.0-rename": "scripts/upgrade-blueprint-2.0.0-rename.sh",
22 "upgrade-blueprint-3.0.0-rename": "scripts/upgrade-blueprint-3.0.0-rename.sh"
23 },
24 "scripts": {
25 "clean": "rm -rf dist/* && rm -rf lib/*",
26 "compile": "run-p \"compile:*\"",
27 "compile:esm": "tsc -p ./src",
28 "compile:cjs": "tsc -p ./src -m commonjs --outDir lib/cjs",
29 "compile:esnext": "tsc -p ./src -t esnext --outDir lib/esnext",
30 "compile:css": "sass-compile --functions ./scripts/sass-custom-functions.js ./src",
31 "dev": "run-p \"compile:esm -- --watch\" \"compile:css -- --watch\"",
32 "dist": "run-s \"dist:*\"",
33 "dist:bundle": "cross-env NODE_ENV=production webpack",
34 "dist:css": "css-dist lib/css/*.css",
35 "dist:variables": "generate-css-variables --retainDefault true ../../colors/src/_colors.scss common/_color-aliases.scss common/_variables.scss",
36 "dist:verify": "assert-package-layout",
37 "lint": "run-p lint:scss lint:es",
38 "lint:scss": "sass-lint",
39 "lint:es": "es-lint",
40 "lint-fix": "es-lint --fix && sass-lint --fix",
41 "test": "run-s test:typeCheck test:iso test:karma",
42 "test:typeCheck": "tsc -p ./test",
43 "test:iso": "mocha test/isotest.js",
44 "test:karma": "karma start",
45 "test:karma:debug": "karma start --single-run=false --reporters=helpful --debug",
46 "verify": "npm-run-all compile -p dist test lint"
47 },
48 "dependencies": {
49 "@blueprintjs/colors": "^4.1.10",
50 "@blueprintjs/icons": "^4.11.0",
51 "@juggle/resize-observer": "^3.4.0",
52 "@types/dom4": "^2.0.2",
53 "classnames": "^2.3.1",
54 "dom4": "^2.1.5",
55 "normalize.css": "^8.0.1",
56 "popper.js": "^1.16.1",
57 "react-popper": "^1.3.11",
58 "react-transition-group": "^4.4.5",
59 "tslib": "~2.3.1"
60 },
61 "peerDependencies": {
62 "@types/react": "^16.14.32 || 17 || 18",
63 "react": "^16.8 || 17 || 18",
64 "react-dom": "^16.8 || 17 || 18"
65 },
66 "peerDependenciesMeta": {
67 "@types/react": {
68 "optional": true
69 }
70 },
71 "devDependencies": {
72 "@blueprintjs/karma-build-scripts": "^4.0.6",
73 "@blueprintjs/node-build-scripts": "^6.0.2",
74 "@blueprintjs/test-commons": "^1.1.4",
75 "@testing-library/react": "^12.1.5",
76 "@vgrid/sass-inline-svg": "^1.0.1",
77 "enzyme": "^3.11.0",
78 "karma": "^6.4.1",
79 "mocha": "^10.1.0",
80 "npm-run-all": "^4.1.5",
81 "react": "^16.14.0",
82 "react-dom": "^16.14.0",
83 "react-test-renderer": "^16.14.0",
84 "typescript": "~4.6.2",
85 "webpack-cli": "^4.10.0"
86 },
87 "repository": {
88 "type": "git",
89 "url": "git@github.com:palantir/blueprint.git",
90 "directory": "packages/core"
91 },
92 "keywords": [
93 "palantir",
94 "blueprint",
95 "components",
96 "styles",
97 "theme",
98 "ui"
99 ],
100 "author": "Palantir Technologies",
101 "license": "Apache-2.0"
102}