133 lines
4.1 KiB
JSON
133 lines
4.1 KiB
JSON
{
|
|
"_from": "yaml@^2.3.4",
|
|
"_id": "yaml@2.7.0",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==",
|
|
"_location": "/yaml",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "range",
|
|
"registry": true,
|
|
"raw": "yaml@^2.3.4",
|
|
"name": "yaml",
|
|
"escapedName": "yaml",
|
|
"rawSpec": "^2.3.4",
|
|
"saveSpec": null,
|
|
"fetchSpec": "^2.3.4"
|
|
},
|
|
"_requiredBy": [
|
|
"/postcss-load-config"
|
|
],
|
|
"_resolved": "https://registry.npmmirror.com/yaml/-/yaml-2.7.0.tgz",
|
|
"_shasum": "aef9bb617a64c937a9a748803786ad8d3ffe1e98",
|
|
"_spec": "yaml@^2.3.4",
|
|
"_where": "/Users/hongbin9/www/botgroup.chat/node_modules/postcss-load-config",
|
|
"author": {
|
|
"name": "Eemeli Aro",
|
|
"email": "eemeli@gmail.com"
|
|
},
|
|
"bin": {
|
|
"yaml": "bin.mjs"
|
|
},
|
|
"browser": {
|
|
"./dist/index.js": "./browser/index.js",
|
|
"./dist/util.js": "./browser/dist/util.js",
|
|
"./util.js": "./browser/dist/util.js"
|
|
},
|
|
"browserslist": "defaults, not ie 11",
|
|
"bugs": {
|
|
"url": "https://github.com/eemeli/yaml/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"deprecated": false,
|
|
"description": "JavaScript parser and stringifier for YAML",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.10",
|
|
"@babel/plugin-transform-typescript": "^7.12.17",
|
|
"@babel/preset-env": "^7.12.11",
|
|
"@eslint/js": "^9.9.1",
|
|
"@rollup/plugin-babel": "^6.0.3",
|
|
"@rollup/plugin-replace": "^5.0.2",
|
|
"@rollup/plugin-typescript": "^12.1.1",
|
|
"@types/jest": "^29.2.4",
|
|
"@types/node": "^20.11.20",
|
|
"babel-jest": "^29.0.1",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^9.9.1",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"fast-check": "^2.12.0",
|
|
"jest": "^29.0.1",
|
|
"jest-ts-webcompat-resolver": "^1.0.0",
|
|
"prettier": "^3.0.2",
|
|
"rollup": "^4.12.0",
|
|
"tslib": "^2.8.1",
|
|
"typescript": "^5.7.2",
|
|
"typescript-eslint": "^8.4.0"
|
|
},
|
|
"engines": {
|
|
"node": ">= 14"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"node": "./dist/index.js",
|
|
"default": "./browser/index.js"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./util": {
|
|
"types": "./dist/util.d.ts",
|
|
"node": "./dist/util.js",
|
|
"default": "./browser/dist/util.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"browser/",
|
|
"dist/",
|
|
"util.js"
|
|
],
|
|
"homepage": "https://eemeli.org/yaml/",
|
|
"keywords": [
|
|
"YAML",
|
|
"parser",
|
|
"stringifier"
|
|
],
|
|
"license": "ISC",
|
|
"main": "./dist/index.js",
|
|
"name": "yaml",
|
|
"prettier": {
|
|
"arrowParens": "avoid",
|
|
"semi": false,
|
|
"singleQuote": true,
|
|
"trailingComma": "none"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/eemeli/yaml.git"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run build:node && npm run build:browser",
|
|
"build:browser": "rollup -c config/rollup.browser-config.mjs",
|
|
"build:node": "rollup -c config/rollup.node-config.mjs",
|
|
"clean": "git clean -fdxe node_modules",
|
|
"docs": "cd docs-slate && bundle exec middleman server",
|
|
"docs:deploy": "cd docs-slate && ./deploy.sh",
|
|
"docs:install": "cd docs-slate && bundle install",
|
|
"lint": "eslint config/ src/",
|
|
"predocs": "node docs/prepare-docs.mjs",
|
|
"predocs:deploy": "node docs/prepare-docs.mjs",
|
|
"prepublishOnly": "npm run clean && npm test && npm run build",
|
|
"prestart": "rollup --sourcemap -c config/rollup.node-config.mjs",
|
|
"prettier": "prettier --write .",
|
|
"preversion": "npm test && npm run build",
|
|
"start": "node --enable-source-maps -i -e 'YAML=require(\"./dist/index.js\");const{parse,parseDocument,parseAllDocuments}=YAML'",
|
|
"test": "jest --config config/jest.config.js",
|
|
"test:all": "npm test && npm run test:types && npm run test:dist && npm run test:dist:types",
|
|
"test:browsers": "cd playground && npm test",
|
|
"test:dist": "npm run build:node && jest --config config/jest.config.js",
|
|
"test:dist:types": "tsc --allowJs --moduleResolution node --noEmit --target es5 dist/index.js",
|
|
"test:types": "tsc --noEmit && tsc --noEmit -p tests/tsconfig.json"
|
|
},
|
|
"type": "commonjs",
|
|
"version": "2.7.0"
|
|
}
|