-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
85 lines (85 loc) · 2.05 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
{
"name": "license-expressions",
"version": "0.7.1",
"description": "Pure-JavaScript (TypeScript) parser for SPDX expressions",
"devDependencies": {
"@babel/preset-typescript": "^7.16.0",
"@types/jest": "^29.2.6",
"@types/node": "^22.8.1",
"@types/spdx-correct": "^3.1.0",
"@types/tmp": "^0.2.3",
"jest": "^29.4.0",
"jest-extended": "^4.0.2",
"tmp": "^0.2.1",
"ts-jest": "^29.0.5",
"ts-node": "^10.4.0",
"tspeg": "^3.2.0",
"typescript": "^5.3.3"
},
"dependencies": {
"spdx-correct": "^3.2.0"
},
"compilerOptions": {
"module": "commonJs",
"target": "es6",
"outDir": "build",
"lib": [
"es6"
]
},
"files": [
"build/**/*.js",
"build/**/*.json",
"build/**/*.ts"
],
"bin": {
"spdx": "./build/cli/index.js"
},
"types": "./build/index.d.ts",
"exports": {
".": "./build/index.js",
"./validate": "./build/validator/index.js",
"./normalize": "./build/normalizer/index.js"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.ts",
"!src/codegen/**/*.ts"
],
"coveragePathIgnorePatterns": [
"src/cli.ts"
],
"setupFilesAfterEnv": [
"jest-extended/all"
]
},
"scripts": {
"test": "npm run build && npx jest --verbose --silent=false",
"build": "npm run codegen && tsc && chmod a+x build/cli/index.js",
"eval": "npm run build && node build/cli.js",
"prepack": "scripts/clean_build_dir.sh && npm run build",
"prepublish": "scripts/clean_build_dir.sh && npm run build",
"codegen": "scripts/codegen.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lkoskela/license-expressions.git"
},
"keywords": [
"spdx",
"license",
"licence",
"parser",
"parsing",
"ast"
],
"author": "Lasse Koskela",
"license": "MIT",
"bugs": {
"url": "https://github.com/lkoskela/license-expressions/issues"
},
"homepage": "https://github.com/lkoskela/license-expressions#readme"
}