UNPKG

3.56 kBJSONView Raw
1{
2 "name": "@blueprintjs/core",
3 "version": "5.3.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 "files": [
12 "dist",
13 "lib",
14 "scripts",
15 "src"
16 ],
17 "sideEffects": [
18 "**/*.css",
19 "lib/cjs/components/context-menu/contextMenuSingleton.js",
20 "lib/esm/components/context-menu/contextMenuSingleton.js",
21 "lib/esnext/components/context-menu/contextMenuSingleton.js"
22 ],
23 "bin": {
24 "upgrade-blueprint-2.0.0-rename": "scripts/upgrade-blueprint-2.0.0-rename.sh",
25 "upgrade-blueprint-3.0.0-rename": "scripts/upgrade-blueprint-3.0.0-rename.sh"
26 },
27 "scripts": {
28 "clean": "rm -rf dist/* && rm -rf lib/*",
29 "compile": "run-p \"compile:*\"",
30 "compile:esm": "tsc -p ./src",
31 "compile:cjs": "tsc -p ./src -m commonjs --outDir lib/cjs",
32 "compile:esnext": "tsc -p ./src -t esnext --outDir lib/esnext",
33 "compile:css": "sass-compile ./src",
34 "dev": "run-p \"compile:esm -- --watch\" \"compile:css -- --watch\"",
35 "dist": "run-s \"dist:*\"",
36 "dist:bundle": "cross-env NODE_ENV=production webpack",
37 "dist:css": "css-dist lib/css/*.css",
38 "dist:variables": "generate-css-variables --retainDefault true ../../colors/src/_colors.scss common/_color-aliases.scss common/_variables.scss",
39 "dist:verify": "assert-package-layout",
40 "lint": "run-p lint:scss lint:es",
41 "lint:scss": "sass-lint",
42 "lint:es": "es-lint",
43 "lint-fix": "es-lint --fix && sass-lint --fix",
44 "test": "run-s test:typeCheck test:iso test:karma",
45 "test:typeCheck": "tsc -p ./test",
46 "test:iso": "mocha test/isotest.js",
47 "test:karma": "karma start",
48 "test:karma:debug": "karma start --single-run=false --reporters=helpful --debug",
49 "verify": "npm-run-all compile -p dist test lint"
50 },
51 "dependencies": {
52 "@blueprintjs/colors": "^5.0.2",
53 "@blueprintjs/icons": "^5.1.6",
54 "@popperjs/core": "^2.11.7",
55 "classnames": "^2.3.1",
56 "normalize.css": "^8.0.1",
57 "react-popper": "^2.3.0",
58 "react-transition-group": "^4.4.5",
59 "tslib": "~2.5.0"
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": "^5.0.2",
73 "@blueprintjs/node-build-scripts": "^8.0.2",
74 "@blueprintjs/test-commons": "^2.0.2",
75 "@testing-library/react": "^12.1.5",
76 "enzyme": "^3.11.0",
77 "karma": "^6.4.1",
78 "mocha": "^10.2.0",
79 "npm-run-all": "^4.1.5",
80 "react": "^16.14.0",
81 "react-dom": "^16.14.0",
82 "react-test-renderer": "^16.14.0",
83 "typescript": "~4.9.5",
84 "webpack-cli": "^5.0.1"
85 },
86 "repository": {
87 "type": "git",
88 "url": "git@github.com:palantir/blueprint.git",
89 "directory": "packages/core"
90 },
91 "keywords": [
92 "palantir",
93 "blueprint",
94 "components",
95 "styles",
96 "theme",
97 "ui"
98 ],
99 "author": "Palantir Technologies",
100 "license": "Apache-2.0"
101}