| 1 |
{ |
| 2 |
"name": "yaml", |
| 3 |
"version": "1.10.2", |
| 4 |
"license": "ISC", |
| 5 |
"author": "Eemeli Aro <[email protected]>", |
| 6 |
"repository": "github:eemeli/yaml", |
| 7 |
"description": "JavaScript parser and stringifier for YAML", |
| 8 |
"keywords": [ |
| 9 |
"YAML", |
| 10 |
"parser", |
| 11 |
"stringifier" |
| 12 |
], |
| 13 |
"homepage": "https://eemeli.org/yaml/v1/", |
| 14 |
"files": [ |
| 15 |
"browser/", |
| 16 |
"dist/", |
| 17 |
"types/", |
| 18 |
"*.d.ts", |
| 19 |
"*.js", |
| 20 |
"*.mjs", |
| 21 |
"!*config.js" |
| 22 |
], |
| 23 |
"type": "commonjs", |
| 24 |
"main": "./index.js", |
| 25 |
"exports": { |
| 26 |
".": "./index.js", |
| 27 |
"./does-not-exist": "./nope-not-here.js", |
| 28 |
"./invalidstar/*": "./nope-not-here/*.js", |
| 29 |
"./parse-cst": "./parse-cst.js", |
| 30 |
"./types": [ |
| 31 |
{ |
| 32 |
"import": "./types.mjs" |
| 33 |
}, |
| 34 |
"./types.js" |
| 35 |
], |
| 36 |
"./util": [ |
| 37 |
{ |
| 38 |
"import": "./util.mjs" |
| 39 |
}, |
| 40 |
"./util.js" |
| 41 |
], |
| 42 |
"./": "./index.js" |
| 43 |
}, |
| 44 |
"scripts": { |
| 45 |
"build": "npm run build:node && npm run build:browser", |
| 46 |
"build:browser": "rollup -c rollup.browser-config.js", |
| 47 |
"build:node": "rollup -c rollup.node-config.js", |
| 48 |
"clean": "git clean -fdxe node_modules", |
| 49 |
"lint": "eslint src/", |
| 50 |
"prettier": "prettier --write .", |
| 51 |
"start": "cross-env TRACE_LEVEL=log npm run build:node && node -i -e 'YAML=require(\".\")'", |
| 52 |
"test": "jest", |
| 53 |
"test:browsers": "cd playground && npm test", |
| 54 |
"test:dist": "npm run build:node && jest", |
| 55 |
"test:types": "tsc --lib ES2017 --noEmit tests/typings.ts", |
| 56 |
"docs:install": "cd docs-slate && bundle install", |
| 57 |
"docs:deploy": "cd docs-slate && ./deploy.sh", |
| 58 |
"docs": "cd docs-slate && bundle exec middleman server", |
| 59 |
"preversion": "npm test && npm run build", |
| 60 |
"prepublishOnly": "npm run clean && npm test && npm run build" |
| 61 |
}, |
| 62 |
"browserslist": "> 0.5%, not dead", |
| 63 |
"prettier": { |
| 64 |
"arrowParens": "avoid", |
| 65 |
"semi": false, |
| 66 |
"singleQuote": true, |
| 67 |
"trailingComma": "none" |
| 68 |
}, |
| 69 |
"devDependencies": { |
| 70 |
"@babel/core": "^7.12.10", |
| 71 |
"@babel/plugin-proposal-class-properties": "^7.12.1", |
| 72 |
"@babel/preset-env": "^7.12.11", |
| 73 |
"@rollup/plugin-babel": "^5.2.3", |
| 74 |
"babel-eslint": "^10.1.0", |
| 75 |
"babel-jest": "^26.6.3", |
| 76 |
"babel-plugin-trace": "^1.1.0", |
| 77 |
"common-tags": "^1.8.0", |
| 78 |
"cross-env": "^7.0.3", |
| 79 |
"eslint": "^7.19.0", |
| 80 |
"eslint-config-prettier": "^7.2.0", |
| 81 |
"fast-check": "^2.12.0", |
| 82 |
"jest": "^26.6.3", |
| 83 |
"prettier": "^2.2.1", |
| 84 |
"rollup": "^2.38.2", |
| 85 |
"typescript": "^4.1.3" |
| 86 |
}, |
| 87 |
"engines": { |
| 88 |
"node": ">= 6" |
| 89 |
} |
| 90 |
} |