-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
111 lines (111 loc) · 4.2 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
104
105
106
107
108
109
110
111
{
"name": "@ltipton/parkin",
"version": "6.6.1",
"description": "Parse gherkin features and map them to step definitions",
"main": "index.cjs",
"module": "index.js",
"types": "build/esm/index.d.ts",
"private": false,
"bin": {
"parkin": ".bin/parkin.js"
},
"repository": {
"type": "git",
"url": "https://github.com/lancetipton/parkin.git"
},
"keywords": [
"gherkin",
"feature",
"cucumber",
"browser",
"step definition",
"step definitions"
],
"author": "Lance Tipton",
"license": "MIT",
"bugs": {
"url": "https://github.com/lancetipton/parkin/issues"
},
"homepage": "https://github.com/lancetipton/parkin",
"publishConfig": {
"access": "public"
},
"files": [
"build",
"test.js",
"index.js",
"index.cjs",
"global.js",
"reporters.js",
"reporters.cjs",
"testGlobal.js",
"README.md"
],
"engines": {
"node": ">= 16.0.0"
},
"scripts": {
"build": "pnpm build:es && pnpm build:copy && pnpm build:cli",
"build:es": "node --enable-source-maps -r esbuild-register configs/build.config.ts",
"build:copy": "rimraf docs/parkin && cp -R build/cjs docs/parkin",
"build:cli": "node --enable-source-maps -r esbuild-register configs/cli.build.config.ts",
"cli:test": "node --enable-source-maps -r esbuild-register src/bin/testCli.ts",
"clean:full": "pnpm clean && pnpm install",
"clean": "pnpm clean:lock && pnpm cache clean && rimraf node_modules && npm cache clean --force",
"clean:cache": "pnpm cache clean",
"clean:lock": "rimraf ./pnpm.lock && rimraf ./package.lock",
"docs:deploy": "pnpm build && gh-pages -d docs",
"docs:serve": "cd ./docs && serve .",
"docs": "pnpm docs:serve",
"json:reset": "node --no-warnings --enable-source-maps --loader esbuild-register/loader -r esbuild-register scripts/resetPkg.ts",
"json:rm": "pnpm json:rm:dev && pnpm json:rm:deps && pnpm json:rm:bin",
"json:rm:bin": "echo \"$(cat package.json | jqn 'delete $.bin;JSON.stringify($, null, 2)')\" > package.json",
"json:rm:dev": "echo \"$(cat package.json | jqn 'delete $.devDependencies;JSON.stringify($, null, 2)')\" > package.json",
"json:rm:deps": "echo \"$(cat package.json | jqn 'delete $.dependencies;JSON.stringify($, null, 2)')\" > package.json",
"format:eslint": "eslint --config ./configs/eslintrc.config.js . --fix --quiet",
"format:prettier": "prettier --config ./configs/prettier.config.js --ignore-path .eslintignore --write '**/*.{js,jsx}'",
"format": "pnpm format:prettier && pnpm format:eslint",
"prebuild": "pnpm format && pnpm test && pnpm parkin",
"prepack": "pnpm json:rm",
"postpack": "pnpm json:reset",
"parkin": "node --no-warnings --loader esbuild-register/loader -r esbuild-register src/bin/parkin.ts --features ./features --defs ./defs --world ./world.ts --root ./parkin",
"test": "NODE_ENV=test jest --detectOpenHandles --no-cache --verbose --config=./configs/jest.config.js --maxWorkers=50%",
"test:cov": "NODE_ENV=test jest --detectOpenHandles --coverage --no-cache --verbose --config=./configs/jest.config.js --maxWorkers=50%",
"test:reports": "pnpm test:cov && pnpm view:reports",
"view:reports": "open reports/coverage/lcov-report/index.html"
},
"optionalDependencies": {
"@keg-hub/args-parse": "10.0.1",
"@keg-hub/cli-utils": "0.8.0",
"esbuild": ">=0.18.0",
"esbuild-register": ">=3.0.0"
},
"dependencies": {},
"devDependencies": {
"@jgoz/esbuild-plugin-typecheck": "3.1.0",
"@keg-hub/args-parse": "10.0.1",
"@keg-hub/cli-utils": "0.8.0",
"@keg-hub/jsutils": "9.10.0",
"@storybook/expect": "28.1.3-5",
"@types/jest": "29.5.10",
"@types/node": "20.10.2",
"@typescript-eslint/parser": "6.13.1",
"es-jest": "2.1.0",
"esbuild": "0.19.8",
"esbuild-register": "3.5.0",
"esbuild-plugin-d.ts": "1.1.0",
"esbuild-plugin-path-alias": "1.0.7",
"esbuild-plugins-node-modules-polyfill": "1.6.1",
"eslint": "8.55.0",
"eslint-plugin-jest": "27.6.0",
"get-all-files": "4.1.0",
"gh-pages": "6.1.0",
"jest": "29.7.0",
"jest-jasmine2": "29.7.0",
"jqn": "1.0.10",
"prettier": "3.1.0",
"rimraf": "5.0.5",
"serve": "14.2.1",
"typescript": "5.3.2"
}
}