UNPKG

lincd

Version:

LINCD is a JavaScript library for building user interfaces with linked data (also known as 'structured data', or RDF)

98 lines (97 loc) β€’ 3.1 kB
{ "name": "lincd", "license": "MPL-2.0", "version": "1.0.3", "description": "LINCD is a JavaScript library for building user interfaces with linked data (also known as 'structured data', or RDF)", "main": "lib/cjs/index.js", "module": "lib/esm/index.js", "exports": { ".": { "types": "./lib/esm/index.d.ts", "import": "./lib/esm/index.js", "require": "./lib/cjs/index.js" }, "./*.js": { "types": "./lib/esm/*.d.ts", "import": "./lib/esm/*.js", "require": "./lib/cjs/*.js" }, "./utilities.css": "./lib/esm/css/utilities.css", "./theme-defaults.css": "./lib/esm/css/theme-defaults.css", "./package.css": "./lib/esm/css/package.css", "./variables.css": "./lib/esm/css/variables.css", "./*.css": "./lib/esm/*.css", "./*": { "types": "./lib/esm/*.d.ts", "import": "./lib/esm/*.js", "require": "./lib/cjs/*.js" } }, "typesVersions": { "*": { "*": [ "lib/esm/*" ] } }, "scripts": { "build": "rimraf ./lib && yarn compile && yarn dual-package && yarn copy-to-lib && echo 'βœ… Done'", "dual-package": "echo 'πŸ’« Adding package.json to each lib folder for dual output support' && yarn tsconfig-to-dual-package ./tsconfig-cjs.json ./tsconfig-esm.json", "compile": "echo 'πŸ’« Compiling CJS' && tsc -p tsconfig-cjs.json && echo 'πŸ’« Compiling ESM' && tsc -p tsconfig-esm.json", "copy-to-lib": "echo 'πŸ’« Copying assets to lib folder' && yarn copyfiles -u 1 ./src/**/*.css ./lib/esm && yarn copyfiles -u 1 ./src/**/*.css ./lib/cjs && yarn copyfiles -u 1 ./lib-template/**/* ./lib", "dev": "echo \"continuously compiling to lib folder. ESM ONLY.\" && tsc -p tsconfig-esm.json -w", "test": "jest", "test-queries": "yarn jest -t \"query tests\"", "test-queries-update": "yarn jest -t \"query tests\" -u", "format:check": "prettier --check .", "format:write": "prettier --write .", "prepack": "yarn build" }, "keywords": [ "lincd", "linked", "code", "linked-data", "graph", "RDF", "in-memory", "interoperable", "semantic-web", "semantic" ], "author": { "name": "RenΓ© Verheij", "url": "https://github.com/flyon", "email": "rene@semantu.com" }, "dependencies": { "@testing-library/react": "^14.2.1", "@types/node": "^20.12.7", "@types/react": "^18.2.61", "@types/react-dom": "^18.2.19", "classnames": "^2.5.1", "eventemitter3": "5.0.1", "knex": "^3.1.0", "next-tick": "^1.1.0", "rdflib": "^2.2.33", "react": "^18.2", "react-dom": "^18.2", "react-usestateref": "^1.0.8", "typedoc": "^0.25.9" }, "devDependencies": { "@jest/globals": "^29.7.0", "@types/jest": "^29.5.12", "buffer": "^6.0.3", "copyfiles": "^2.4.1", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "lincd-cli": "^1.2", "prettier": "^3.2.5", "react-test-renderer": "^18.2.0", "rimraf": "^5.0.7", "ts-jest": "^29.1.2", "tsconfig-to-dual-package": "^1.2.0", "typescript": "^5.7.3" } }