js-yaml
Version:
YAML 1.2 parser and serializer
92 lines (91 loc) • 2.97 kB
JSON
{
"name": "js-yaml",
"version": "5.2.0",
"description": "YAML 1.2 parser and serializer",
"keywords": [
"yaml",
"parser",
"serializer",
"pyyaml"
],
"author": "Vladimir Zapparov <dervus.grim@gmail.com>",
"contributors": [
"Aleksey V Zapparov <ixti@member.fsf.org> (http://www.ixti.net/)",
"Vitaly Puzrin <vitaly@rcdesign.ru> (https://github.com/puzrin)",
"Martin Grenfell <martin.grenfell@gmail.com> (http://got-ravings.blogspot.com)"
],
"license": "MIT",
"repository": "nodeca/js-yaml",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/puzrin"
},
{
"type": "github",
"url": "https://github.com/sponsors/nodeca"
}
],
"files": [
"bin/",
"dist/"
],
"bin": {
"js-yaml": "bin/js-yaml.mjs"
},
"main": "./dist/js-yaml.cjs.js",
"module": "./dist/js-yaml.mjs",
"types": "./dist/js-yaml.d.ts",
"exports": {
".": {
"types": "./dist/js-yaml.d.ts",
"import": "./dist/js-yaml.mjs",
"require": "./dist/js-yaml.cjs.js"
},
"./browser": {
"types": "./dist/js-yaml.d.ts",
"import": "./dist/browser/js-yaml.esm.min.mjs",
"require": "./dist/browser/js-yaml.umd.min.js",
"default": "./dist/browser/js-yaml.umd.min.js"
},
"./package.json": "./package.json"
},
"scripts": {
"lint": "eslint .",
"lint-fix": "eslint . --fix",
"type-check": "tsc --noEmit",
"test": "npm run lint && npm run build && npm run type-check && npm run test:examples && npm run spec:get && node --test 'test/core/**/*.test.mjs' 'test/spec/*.test.mjs'",
"test:examples": "node --test 'examples/*.mjs'",
"test:spec": "npm run build && npm run spec:get && node test/spec/spec.test.mjs",
"spec:get": "node support/get-yaml-test-suite.mjs",
"spec:update": "node support/get-yaml-test-suite.mjs update",
"coverage": "npm run build && npm run spec:get && c8 --include 'dist/js-yaml.mjs' --include 'src/**' -r text -r html -r lcov node --test 'test/core/**/*.test.mjs' 'test/spec/*.test.mjs'",
"build": "node support/build-dist.mjs",
"build:demo": "npm run lint && node support/build_demo.mjs",
"gh-demo": "npm run build:demo && gh-pages -d demo -f",
"benchmark:deps": "npm install --prefix benchmark/extra/",
"prepack": "npm test && npm run build && npm run build:demo",
"postpublish": "npm run gh-demo"
},
"dependencies": {
"argparse": "^2.0.1"
},
"devDependencies": {
"@streamparser/json": "^0.0.22",
"@types/node": "^24.12.2",
"c8": "^11.0.0",
"codemirror": "^5.65.21",
"eslint": "^9.39.4",
"fast-check": "^4.8.0",
"gh-pages": "^6.3.0",
"mitata": "^1.0.34",
"neostandard": "^0.13.0",
"rollup": "^4.62.2",
"rollup-plugin-dts": "^6.4.1",
"typescript": "^6.0.3",
"vite": "^8.0.14",
"vite-plugin-node-polyfills": "^0.28.0",
"vite-plugin-singlefile": "^2.3.3",
"workerpool": "^10.0.2"
}
}