-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 2.47 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
{
"name": "@nmshd/iql",
"version": "1.0.2",
"description": "Identity Query Language - A DSL to filter and query Enmeshed attributes",
"homepage": "https://enmeshed.eu",
"repository": {
"type": "git",
"url": "git+https://github.com/nmshd/iql.git"
},
"license": "MIT",
"author": "js-soft GmbH",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "npm run build:parser && tsc -p ./tsconfig.json",
"build:ci": "npm run build",
"build:node": "npm run build",
"build:parser": "peggy -o ./src/iql.gen.js ./src/grammar.peggy",
"build:watch:parser": "npx nodemon -w src/grammar.peggy --exec 'npm run build:parser'",
"demo": "npm run build && npx webpack --mode production --config ./demo/webpack.config.js && npx light-server -s ./demo -w 'src/grammar.peggy, demo/app.js, demo/attributes.js, demo/index.html # npx webpack --mode production --config ./demo/webpack.config.js'",
"lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:tsc",
"lint:eslint": "eslint --ext .ts ./src ./test",
"lint:prettier": "prettier --check .",
"lint:tsc": "tsc --noEmit",
"test": "npm run build && jest",
"test:ci": "jest -i --coverage"
},
"jest": {
"collectCoverageFrom": [
"./dist/**"
],
"coverageProvider": "v8",
"coverageReporters": [
"text-summary",
"cobertura",
"lcov"
],
"maxWorkers": 5,
"preset": "ts-jest",
"setupFilesAfterEnv": [
"jest-expect-message"
],
"testEnvironment": "node",
"testTimeout": 60000,
"transform": {
"^.+\\.ts$": [
"ts-jest",
{
"tsconfig": "test/tsconfig.json"
}
]
}
},
"devDependencies": {
"@js-soft/eslint-config-ts": "^1.6.9",
"@js-soft/license-check": "^1.0.9",
"@types/jest": "^29.5.13",
"@types/lodash": "^4.17.7",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"jest-expect-message": "^1.1.3",
"lodash": "^4.17.21",
"peggy": "^4.0.3",
"prettier": "^3.3.3",
"ts-jest": "^29.2.5",
"webpack": "^5.94.0",
"webpack-cli": "^6.0.1"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}