forked from Matdata-eu/Yasgui
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 3.1 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 3.1 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "@matdata/yasgui-monorepo",
"type": "module",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"prepare": "husky",
"build": "better-npm-run build",
"dev": "better-npm-run dev",
"util:lint": "cross-env ESLINT_STRICT=true eslint --ext .tsx --ext .ts \"packages/*/src/**/*.{ts,tsx}\" \"packages/*/test/**/*.{ts,tsx}\" \"packages/*/grammar/**/*.{ts,tsx}\"",
"util:validateTs": "tsc -p ./tsconfig-validate.json --noEmit",
"util:prettify": "prettier --parser typescript --write \"packages/*/src/**/*.{ts,tsx}\" && prettier --parser css --write \"packages/*/src/**/*.{css,scss}\"",
"pretest": "node --input-type=module -e \"import fs from 'fs'; if (!fs.existsSync('./build') || fs.readdirSync('./build').length === 0) { console.log('Run \\\"npm run build\\\" before running a test'); process.exit(1); }\"",
"test:dev": "cross-env TEST_ON_DEV_BUILD=1 npm run test",
"test": "npm run puppeteer-test && npm run unit-test",
"test-live": "cross-env TEST_ON_DEV_BUILD=1 npm run test",
"unit-test": "tsc -p ./tsconfig-test.json && mocha \"build/test/**/*-test.js\" --require source-map-support/register || exit 0",
"puppeteer-test": "tsc -p ./tsconfig-test.json && mocha --timeout 30000 ./build/test/test/run.js --require source-map-support/register",
"prerelease": "npm run build",
"release": "changeset publish"
},
"betterScripts": {
"dev": {
"command": "vite",
"env": {
"NODE_ENV": "development"
}
},
"build": {
"command": "node esbuild.config.js && node distributeBuildFiles.js",
"env": {
"NODE_ENV": "production"
}
}
},
"lint-staged": {
"*.ts?(x)": [
"prettier --parser typescript --write",
"eslint"
],
"*.js": [
"prettier --write"
],
"*.css": [
"prettier --parser css --write"
],
"*.scss": [
"prettier --parser scss --write"
]
},
"dependencies": {
"@matdata/yasgui-graph-plugin": "^1.4.1",
"@matdata/yasgui-table-plugin": "^1.1.0",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"autoprefixer": "^10.4.21",
"better-npm-run": "^0.1.1",
"chai": "^6.2.0",
"fs-extra": "^11.3.2",
"mocha": "^11.7.4",
"node-static": "^0.7.11",
"yasgui-geo-tg": "^1.1.1"
},
"devDependencies": {
"@changesets/cli": "^2.29.7",
"@types/chai": "^5.2.3",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.10",
"@types/node-static": "^0.7.12",
"cross-env": "^7.0.3",
"esbuild": "^0.24.2",
"esbuild-sass-plugin": "^3.3.1",
"eslint": "^8.55.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-jest": "^23.8.1",
"eslint-plugin-lodash": "^7.1.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.6",
"postcss": "^8.4.49",
"prettier": "^3.6.2",
"puppeteer": "^24.28.0",
"sass": "^1.93.3",
"source-map": "^0.7.6",
"source-map-support": "^0.5.21",
"typescript": "^5.9.3",
"vite": "^5.4.11"
},
"version": "4.7.0"
}