@tapcart/app-studio-components
Version:
A library for accessing global components across different environments with a consistent API
61 lines (60 loc) • 1.77 kB
JSON
{
"name": "@tapcart/app-studio-components",
"version": "1.0.1",
"description": "A library for accessing global components across different environments with a consistent API",
"keywords": ["react", "components", "tapcart", "shared-components"],
"license": "MIT",
"exports": {
".": {
"import": {
"types": "./lib/esm/types/index.d.ts",
"default": "./lib/esm/index.mjs"
},
"require": {
"types": "./lib/cjs/types/index.d.ts",
"default": "./lib/cjs/index.js"
}
}
},
"types": "./lib/cjs/types/index.d.ts",
"main": "./lib/cjs/index.js",
"files": [
"lib/**/*"
],
"scripts": {
"clean": "rm -rf ./lib",
"prepack": "yarn build",
"build": "yarn clean && yarn build:esm && yarn build:cjs",
"build:esm": "tsc -p ./configs/tsconfig.esm.json && mv lib/esm/index.js lib/esm/index.mjs",
"build:cjs": "tsc -p ./configs/tsconfig.cjs.json",
"test": "mocha",
"test:unit": "yarn test --grep \"#unit\"",
"test:coverage": "nyc --reporter=html --reporter=text yarn test",
"deps:upgrade": "yarn upgrade-interactive --latest && yarn build",
"deps:check": "npx depcheck",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@types/chai": "^4.3.3",
"@types/mocha": "^10.0.0",
"@types/react": "^18.0.0",
"chai": "^4.3.6",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"react": "^18.2.0",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
}
}