UNPKG

moddle

Version:

A library for importing meta-model based file formats into JS

74 lines (73 loc) 1.85 kB
{ "name": "moddle", "version": "8.1.0", "description": "A library for importing meta-model based file formats into JS", "scripts": { "all": "run-s lint test test:schema generate-types", "lint": "eslint .", "pretest": "run-s build", "dev": "npm test -- --watch", "test": "mocha --reporter=spec --recursive test", "test:schema": "ajv -s resources/schema/moddle.json -d 'test/fixtures/**/*.json'", "build": "rollup -c --bundleConfigAsCjs", "generate-types": "run-s generate-types:*", "generate-types:generate": "del-cli \"lib/**/*.d.ts\" && npx bio-dts -r lib", "generate-types:test": "tsc --noEmit --noImplicitAny", "prepare": "run-s build generate-types" }, "type": "module", "exports": { ".": "./dist/index.js", "./package.json": "./package.json" }, "types": "./dist/index.d.ts", "repository": { "type": "git", "url": "https://github.com/bpmn-io/moddle" }, "keywords": [ "model", "meta-model", "xml", "xsd", "import", "export" ], "author": { "name": "Nico Rehwaldt", "url": "https://github.com/Nikku" }, "contributors": [ { "name": "bpmn.io contributors", "url": "https://github.com/bpmn-io" } ], "license": "MIT", "sideEffects": false, "devDependencies": { "@types/chai": "^5.2.3", "@types/mocha": "^10.0.10", "ajv": "^8.17.1", "ajv-cli": "^5.0.0", "bio-dts": "^0.14.1", "chai": "^6.2.2", "del-cli": "^7.0.0", "eslint": "^9.39.2", "eslint-plugin-bpmn-io": "^2.2.0", "fast-glob": "^3.3.3", "mocha": "^11.7.5", "npm-run-all2": "^8.0.4", "rollup": "^4.54.0", "ts-expect": "^1.3.0", "typescript": "^5.7.2" }, "dependencies": { "min-dash": "^5.0.0" }, "files": [ "dist", "lib/*.d.ts", "resources/schema/moddle.json" ] }