-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 4.11 KB
/
Copy pathpackage.json
File metadata and controls
128 lines (128 loc) · 4.11 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "@specs-feup/onnx-flow",
"version": "1.0.7-demo.0",
"engines": {
"node": ">=16"
},
"publishConfig": {
"access": "public"
},
"description": "Tool to convert an ONNX graph into a data-flow graph (DFG), decomposing its high-level operations into low-level operations and performing a set of optimizations.",
"bin": {
"onnx-flow": "./out/src/index.js",
"onnx-flow-testcomp": "./out/test/compatibility_test.js"
},
"keywords": [
"onnx",
"optimization",
"operation decomposition",
"dfg"
],
"main": "./out/src/index.js",
"files": [
"out/",
"src/Onnx/onnx.proto",
"package.json",
"README.md"
],
"scripts": {
"clean": "rimraf out",
"build": "tsc",
"build:watch": "tsc --watch",
"postbuild": "npx cpx2 \"src/Onnx/onnx.proto\" \"out/src/Onnx\"",
"typecheck": "tsc --noEmit",
"format": "prettier --write \"{src,test}/**/*.{ts,js,json}\" package.json",
"lint": "eslint \"{src,test}/**/*.{ts,js}\" --fix",
"lint:check": "eslint \"{src,test}/**/*.{ts,js}\"",
"pretest": "npm run build",
"pretestcomp": "npm run build",
"pretestpartition": "npm run build",
"test": "node ./out/test/compatibility_test.js",
"test:ci": "npm run testpartition",
"testcomp": "node ./out/test/compatibility_test.js",
"testpartition": "node ./out/test/partition_test.js",
"dev": "npm-run-all --parallel build:watch dev:testcomp",
"dev:testcomp": "nodemon -e js -w out/test -x \"node ./out/test/compatibility_test.js\"",
"prepare": "npm run build && husky install",
"prepublishOnly": "npm run clean && npm run build && npm run typecheck",
"demo:core": "COMPAT_MODE=core node ./out/test/compatibility_test.js",
"demo:all": "COMPAT_MODE=all node ./out/test/compatibility_test.js"
},
"author": "José Pedro Ferreira, Bruno Oliveira, Nelson Neto, António Abílio",
"repository": {
"type": "git",
"url": "git+https://github.com/specs-feup/onnx-flow.git"
},
"homepage": "https://github.com/specs-feup/onnx-flow#readme",
"license": "Apache-2.0",
"dependencies": {
"@specs-feup/flow": "^1.0.3",
"express": "^4.21.1",
"link": "^2.1.2",
"node-graphviz": "^0.1.1",
"npm": "^12.0.1",
"onnxruntime-web": "^1.20.1",
"protobufjs": "^7.4.0",
"tsx": "^4.23.1",
"vite": "^8.1.5",
"yargs": "^17.7.2"
},
"type": "module",
"devDependencies": {
"@types/express": "^5.0.0",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"cpx2": "^8.0.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"globals": "^17.3.0",
"husky": "^8.0.0",
"nodemon": "^3.1.7",
"npm-run-all": "^4.1.5",
"prettier": "^3.8.1",
"rimraf": "^6.0.1",
"typescript": "^5.7.2",
"typescript-eslint": "^8.54.0"
},
"lint-staged": {
"{src,test}/**/*.{ts,js}": [
"prettier --write",
"eslint --fix"
],
"{src,test}/**/*.json": [
"prettier --write"
],
"package.json": [
"prettier --write"
]
},
"parserOptions": {
"project": [
"./tsconfig.*.json"
]
},
"exports": {
".": {
"types": "./out/src/api.d.ts",
"default": "./out/src/api.js"
},
"./recipes": {
"types": "./out/src/recipes.d.ts",
"default": "./out/src/recipes.js"
},
"./test": {
"types": "./out/test/compatibility_test.d.ts",
"default": "./out/test/compatibility_test.js"
},
"./*": {
"types": "./out/src/*.d.ts",
"default": "./out/src/*.js"
}
},
"allowScripts": {
"protobufjs": true,
"esbuild@0.28.2": true
}
}