This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
86 lines (86 loc) · 2.81 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
{
"name": "@cucumber/blockly",
"version": "0.0.6",
"description": "Gherkin Editor in Blockly",
"type": "module",
"main": "dist/cjs/src/index.js",
"types": "dist/cjs/src/index.d.ts",
"files": [
"dist/cjs",
"dist/esm"
],
"module": "dist/esm/src/index.js",
"exports": {
".": {
"import": "./dist/esm/src/index.js",
"require": "./dist/cjs/src/index.js"
}
},
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"scripts": {
"build": "npm run build:cjs && npm run build:esm && npm run build:vanilla",
"build:cjs": "tsc --build tsconfig.build-cjs.json && cp package.cjs.json dist/cjs/package.json",
"build:esm": "tsc --build tsconfig.build-esm.json",
"build:vanilla": "esbuild docs/main-vanilla.ts --bundle --outfile=docs/js/main.js --sourcemap=inline",
"test": "mocha && npm run test:cjs && npm run build:esm",
"test:cjs": "npm run build:cjs && mocha --no-config dist/cjs/test",
"start:react": "esbuild docs/main-react.tsx --bundle --outfile=docs/js/main.js --servedir=docs --sourcemap=inline",
"start:vanilla": "esbuild docs/main-vanilla.ts --bundle --outfile=docs/js/main.js --servedir=docs --sourcemap=inline",
"start:vanilla:prebuilt": "npm run build:vanilla && http-server -c-1 docs",
"prebuild": "cp -r node_modules/blockly/media/ docs/media",
"eslint-fix": "eslint --ext ts,tsx --max-warnings 0 --fix src test docs",
"eslint": "eslint --ext ts,tsx --max-warnings 0 src test docs",
"prepare": "husky install",
"pretty-quick-staged": "pretty-quick --staged"
},
"keywords": [
"gherkin",
"editor",
"blockly",
"cucumber"
],
"author": "Aslak Hellesøy",
"license": "MIT",
"dependencies": {
"@cucumber/cucumber-expressions": "16.1.2",
"@cucumber/gherkin-utils": "8.0.6",
"@cucumber/language-service": "1.4.1",
"@cucumber/messages": "24.1.0",
"blockly": "9.3.3"
},
"devDependencies": {
"@types/mocha": "10.0.7",
"@types/node": "20.16.1",
"@types/react": "18.3.4",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"esbuild": "0.23.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-simple-import-sort": "12.1.1",
"http-server": "14.1.1",
"husky": "9.1.5",
"mocha": "10.7.3",
"prettier": "3.3.3",
"pretty-quick": "4.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"ts-node": "10.9.2",
"typescript": "5.5.4",
"xml-formatter": "3.6.3"
},
"prettier": {
"trailingComma": "es5",
"semi": false,
"singleQuote": true,
"printWidth": 100
}
}