-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.92 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 2.92 KB
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
{
"name": "@astryxdesign/charts",
"version": "0.1.9",
"private": true,
"description": "Astryx charts — a config-model data visualization library (d3-based). Published to npm only under the @canary dist-tag for early testing; never released as a stable (latest) version.",
"author": "Meta Open Source",
"license": "MIT",
"homepage": "https://github.com/facebook/astryx#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/astryx.git",
"directory": "packages/charts"
},
"bugs": {
"url": "https://github.com/facebook/astryx/issues"
},
"keywords": [
"astryx",
"charts",
"data-visualization",
"design-system"
],
"astryx": {
"canaryOnly": true,
"_comment": "Published ONLY to the @canary dist-tag (see .github/workflows/release.yml). Never published as a stable `latest` release. `private: true` is intentional and must stay — it is npm's hard guarantee against an accidental stable publish."
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"src",
"README.md",
"CHANGELOG.md"
],
"exports": {
".": {
"source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./charts.css": {
"default": "./dist/charts.css"
}
},
"scripts": {
"prepack": "pnpm build",
"build": "rimraf dist && pnpm build:esm && tsc --project tsconfig.build.json && pnpm build:css && node ../../scripts/check-no-dev-jsx.mjs && node ../../scripts/check-fully-specified.mjs",
"build:esm": "babel src --out-dir dist --extensions .ts,.tsx --out-file-extension .js --ignore \"**/*.test.ts,**/*.test.tsx,**/__tests__/**,**/*.perf.test.*,**/*.doc.mjs,**/*.d.ts,**/*.css,**/*.css.d.ts\" --config-file ./babel.config.js",
"build:css": "node ../../scripts/build-css.mjs --package charts",
"dev": "babel src --watch --out-dir dist --extensions .ts,.tsx --out-file-extension .js --ignore \"**/*.test.*,**/*.doc.mjs,**/*.d.ts,**/*.css*\" --config-file ./babel.config.js",
"test": "vitest run --root ../..",
"test:watch": "vitest --root ../..",
"lint": "eslint src",
"typecheck:docs": "tsc --project tsconfig.docs.json",
"typecheck": "tsc --project tsconfig.json --noEmit"
},
"peerDependencies": {
"@stylexjs/stylex": ">=0.10.0",
"@astryxdesign/core": "0.4.5",
"react": ">=19.0.0",
"react-dom": ">=19.0.0"
},
"dependencies": {
"d3-array": "^3.2.4",
"d3-scale": "^4.0.2",
"d3-shape": "^3.2.0"
},
"devDependencies": {
"@astryxdesign/cli": "workspace:*",
"@babel/cli": "catalog:",
"@babel/core": "catalog:",
"@babel/preset-react": "catalog:",
"@babel/preset-typescript": "catalog:",
"@stylexjs/babel-plugin": "catalog:",
"@testing-library/react": "catalog:",
"@types/d3-scale": "^4.0.9",
"@types/d3-shape": "^3.1.8",
"rimraf": "^6.0.1"
}
}