-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.9 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 1.9 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
{
"name": "@ooxml-tools/validate",
"description": "Validate Office Open XML files in nodejs the browser",
"version": "0.4.4",
"license": "MIT",
"main": "./dist/npm/index.js",
"types": "./dist/npm/index.d.ts",
"type": "module",
"bin": {
"ooxml-validate": "./dist/npm/bin/ooxml-validate.js"
},
"repository": {
"type": "git",
"url": "https://github.com/ooxml-tools/validate"
},
"scripts": {
"ci:build": "npm install && npm run build",
"build": "rm -rf ./dist/* && npm run build:dotnet && npm run build:npm && chmod +x ./dist/npm/bin/ooxml-validate.js",
"build:dotnet": "cd ./dotnet && dotnet workload restore && dotnet publish -c Release && mkdir -p ./_framework && rm -rf ./_framework && cp -r ./bin/Release/net8.0/wwwroot/_framework ./_framework",
"build:npm": "rollup -c rollup.config.ts --configPlugin typescript",
"lint:format": "npm run lint:format:js && npm run lint:format:dotnet",
"lint:format:js": "npx prettier . --write",
"lint:format:dotnet": "cd dotnet && dotnet format",
"lint": "npx prettier . --check",
"test": "tsx ./test/index.ts && npm run lint"
},
"exports": {
".": {
"types": "./dist/npm/index.d.ts",
"default": "./dist/npm/index.js"
},
"./command": {
"types": "./dist/npm/command.d.ts",
"default": "./dist/npm/command.js"
}
},
"files": [
"./dist/npm",
"./package.json",
"./README.md"
],
"devDependencies": {
"@rollup/plugin-typescript": "^12.1.2",
"@rollup/plugin-virtual": "^3.0.2",
"@types/yargs": "^17.0.32",
"execa": "^9.3.0",
"prettier": "^3.8.1",
"prettier-plugin-sh": "^0.18.0",
"rollup": "^4.18.1",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-typescript-paths": "^1.5.0",
"tsx": "^4.17.0"
},
"dependencies": {
"chalk": "^5.3.0",
"yargs": "^18.0.0"
},
"engines": {
"node": ">=20.x"
}
}