@codama/renderers-js
Version:
JavaScript renderer compatible with the Solana Kit library
69 lines • 2.29 kB
JSON
{
"name": "@codama/renderers-js",
"version": "1.3.2",
"description": "JavaScript renderer compatible with the Solana Kit library",
"exports": {
"types": "./dist/types/index.d.ts",
"node": {
"import": "./dist/index.node.mjs",
"require": "./dist/index.node.cjs"
}
},
"main": "./dist/index.node.cjs",
"module": "./dist/index.node.mjs",
"types": "./dist/types/index.d.ts",
"type": "commonjs",
"files": [
"./dist/templates",
"./dist/types",
"./dist/index.*"
],
"sideEffects": false,
"keywords": [
"solana",
"framework",
"standard",
"renderers",
"js",
"client"
],
"dependencies": {
"@solana/codecs-strings": "^2.3.0",
"nunjucks": "^3.2.4",
"prettier": "^3.6.2",
"@codama/errors": "1.3.1",
"@codama/nodes": "1.3.1",
"@codama/renderers-core": "1.0.17",
"@codama/visitors-core": "1.3.1"
},
"devDependencies": {
"@types/nunjucks": "^3.2.6",
"@codama/nodes-from-anchor": "1.2.3"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/codama-idl/codama"
},
"bugs": {
"url": "http://github.com/codama-idl/codama/issues"
},
"browserslist": [
"supports bigint and not dead",
"maintained node versions"
],
"scripts": {
"build": "rimraf dist && pnpm build:src && pnpm build:types",
"build:src": "zx ../../node_modules/@codama/internals/scripts/build-src.mjs node",
"build:types": "zx ../../node_modules/@codama/internals/scripts/build-types.mjs",
"dev": "zx ../../node_modules/@codama/internals/scripts/test-unit.mjs node --watch",
"lint": "zx ../../node_modules/@codama/internals/scripts/lint.mjs",
"lint:fix": "zx ../../node_modules/@codama/internals/scripts/lint.mjs --fix",
"test": "pnpm test:types && pnpm test:treeshakability && pnpm test:node && pnpm test:e2e && pnpm test:exports",
"test:e2e": "./e2e/test.sh",
"test:exports": "node ./test/exports/module.mjs && node ./test/exports/commonjs.cjs",
"test:node": "zx ../../node_modules/@codama/internals/scripts/test-unit.mjs node",
"test:treeshakability": "zx ../../node_modules/@codama/internals/scripts/test-treeshakability.mjs",
"test:types": "zx ../../node_modules/@codama/internals/scripts/test-types.mjs"
}
}