learning_ai_common_plat/packages/design-tokens/package.json
saravanakumardb1 b6348fd4fe fix(security): harden npm publish — add .npmrc + publishConfig to all 57 packages
- Created .npmrc with @bytelyst scoped registry pointing to local Gitea
- Added publishConfig.registry to all 57 @bytelyst/* package.json files
- Created scripts/harden-publish-config.sh for future re-runs
- Prevents accidental publish to npmjs.org or corporate JFrog registry
2026-03-26 21:51:05 -07:00

34 lines
718 B
JSON

{
"name": "@bytelyst/design-tokens",
"version": "0.1.0",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./tokens.json": "./tokens/bytelyst.tokens.json",
"./generated/tokens": "./generated/tokens.ts",
"./css": "./generated/tokens.css"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"tokens",
"generated",
"scripts"
],
"scripts": {
"build": "tsc",
"generate": "tsx scripts/generate.ts",
"test": "vitest run"
},
"devDependencies": {
"tsx": "^4.0.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
}
}