-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
103 lines (103 loc) · 2.98 KB
/
package.json
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "@stoplight/path",
"version": "0.0.0",
"description": "",
"keywords": [],
"sideEffects": false,
"homepage": "https://github.com/stoplightio/path",
"bugs": "https://github.com/stoplightio/path/issues",
"author": "Stoplight <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/stoplightio/path"
},
"license": "Apache-2.0",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"files": [
"src",
"dist"
],
"engines": {
"node": "^12.20 || >=14.13"
},
"scripts": {
"build": "rimraf dist && yarn build.grammar && yarn build.cjs && yarn build.esm",
"build.esm": "tsc -p tsconfig.build.json --outDir dist/esm --declarationDir dist/types",
"build.cjs": "tsc -p tsconfig.build.json --outDir dist/cjs --module commonjs --declarationDir dist/types",
"build.grammar": "peggy --format=es src/grammar.pegjs",
"commit": "git-cz",
"lint": "eslint 'src/**/*.ts' && prettier --check 'src/**/*.ts'",
"lint.fix": "eslint 'src/**/*.ts' --fix && prettier --write 'src/**/*.ts'",
"release": "semantic-release",
"pretest": "yarn build.grammar",
"test": "jest",
"test.prod": "yarn lint && yarn test --coverage --maxWorkers=2",
"test.update": "yarn test --updateSnapshot",
"test.watch": "yarn test --watch",
"yalc": "yarn build && yalc push",
"yalc.watch": "nodemon --watch 'src/**/*' --exec 'yarn yalc'"
},
"peerDependencies": {},
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@types/jest": "^29.4.0",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.7",
"@semantic-release/npm": "^9.0.2",
"@semantic-release/release-notes-generator": "^10.0.3",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^4.3.8",
"jest": "^29.4.1",
"lint-staged": "^13.1.0",
"nodemon": "1.x.x",
"peggy": "^2.0.1",
"prettier": "^2.8.3",
"rimraf": "^4.1.2",
"semantic-release": "^19.0.5",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
},
"lint-staged": {
"*.{ts,tsx}$": [
"yarn lint.fix"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 120,
"singleQuote": true,
"trailingComma": "all"
}
}