piral-core
Version:
The core library for creating a Piral instance.
89 lines (88 loc) • 2.28 kB
JSON
{
"name": "piral-core",
"version": "1.8.5",
"description": "The core library for creating a Piral instance.",
"keywords": [
"portal",
"smapiot",
"modules",
"microfrontend",
"spa",
"core",
"functional"
],
"importmap": {
"imports": {
"react": "react",
"react-dom": "react-dom",
"react-router": "react-router",
"react-router-dom": "react-router-dom"
}
},
"author": "smapiot",
"homepage": "https://piral.io",
"license": "MIT",
"module": "lib/index.js",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"exports": {
".": "./lib/index.js",
"./lib/*": {
"import": "./lib/*",
"types": "./lib/*.d.ts"
},
"./app.codegen": "./app.codegen",
"./package.json": "./package.json",
"./styles/sheet.css": "./styles/sheet.css"
},
"sideEffects": false,
"files": [
"lib",
"src",
"app.codegen",
"app.codegen.d.ts",
"styles"
],
"funding": {
"type": "github",
"url": "https://github.com/sponsors/smapiot"
},
"repository": {
"type": "git",
"url": "https://github.com/smapiot/piral.git"
},
"bugs": {
"url": "https://github.com/smapiot/piral/issues"
},
"scripts": {
"cleanup": "rimraf dist esm lib",
"build": "yarn build:esnext && yarn build:codegen",
"build:esnext": "tsc --project tsconfig.json --outDir lib --module esnext",
"build:codegen": "esbuild src/tools/codegen.ts --bundle --outfile=lib/codegen.js --format=cjs --platform=node --external:pnpapi",
"typedoc": "typedoc --json ../../../docs/types/piral-core.json src --exclude \"src/**/*.test.*\"",
"test": "echo \"Error: run tests from root\" && exit 1"
},
"dependencies": {
"piral-base": "^1.8.5",
"piral-debug-utils": "^1.8.5",
"zustand": "^3.0.0"
},
"devDependencies": {
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/react-router": "^5.1.8",
"@types/react-router-dom": "^5.1.6",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0"
},
"sharedDependencies": [
"react",
"react-dom",
"react-router",
"react-router-dom",
"tslib"
],
"gitHead": "b100b985954384a8e4e874769fe449a66bc7d94d"
}