-
Notifications
You must be signed in to change notification settings - Fork 151
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.25 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "yaml",
"version": "3.0.0-0",
"license": "ISC",
"author": "Eemeli Aro <eemeli@gmail.com>",
"funding": "https://github.com/sponsors/eemeli",
"repository": "github:eemeli/yaml",
"description": "JavaScript parser and stringifier for YAML",
"keywords": [
"YAML",
"parser",
"stringifier"
],
"homepage": "https://eemeli.org/yaml/",
"files": [
"dist/"
],
"type": "module",
"main": "./dist/index.js",
"bin": "./bin.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json",
"./util": {
"types": "./dist/util.d.ts",
"default": "./dist/util.js"
}
},
"scripts": {
"build": "rolldown -c",
"clean": "git clean -fdxe node_modules",
"lint": "eslint src/",
"prettier": "prettier --write .",
"start": "node -i -e 'YAML=require(\"./src/index.ts\");const{parse,parseDocument,parseAllDocuments,stringify}=YAML'",
"test": "vitest run",
"test:all": "npm test && npm run test:types && npm run test:dist && npm run test:dist:types",
"test:dist": "npm run build && vitest run",
"test:dist:types": "tsc --allowJs --moduleResolution node --noEmit --target es5 dist/cli.js dist/index.js dist/test-events.js dist/util.js",
"test:types": "tsc --noEmit && tsc --noEmit -p tests/tsconfig.json",
"docs:install": "cd docs-slate && bundle install",
"predocs:deploy": "node docs/prepare-docs.js",
"docs:deploy": "cd docs-slate && ./deploy.sh",
"predocs": "node docs/prepare-docs.js",
"docs": "cd docs-slate && bundle exec middleman server",
"preversion": "npm test && npm run build",
"prepublishOnly": "npm run clean && npm test && npm run build"
},
"prettier": {
"arrowParens": "avoid",
"semi": false,
"singleQuote": true,
"trailingComma": "none"
},
"devDependencies": {
"@eslint/js": "^9.9.1",
"@types/node": "^20.11.20",
"eslint": "^9.9.1",
"eslint-config-prettier": "^10.1.8",
"fast-check": "^2.12.0",
"prettier": "^3.0.2",
"rolldown": "^1.0.0-beta.54",
"rolldown-plugin-dts": "^0.22.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.4.0",
"vitest": "^4.0.15"
},
"engines": {
"node": "^20.19 || ^22.12 || >=24"
}
}