Skip to content

Commit 2b1aec6

Browse files
committed
fix: Add root package.json to proxy npm scripts
- Root package.json proxies all commands to scripts/ directory - Allows running npm commands from root directory - Fixes ENOENT error when running commands from root - Maintains backward compatibility
1 parent 62dd160 commit 2b1aec6

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

package.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "phantom",
3+
"version": "0.1.6-beta",
4+
"description": "Lightweight helper library for OIE scripting",
5+
"private": true,
6+
"scripts": {
7+
"test": "cd scripts && npm test",
8+
"test:watch": "cd scripts && npm run test:watch",
9+
"test:coverage": "cd scripts && npm run test:coverage",
10+
"test:check": "cd scripts && npm run test:check",
11+
"test:check-diff": "cd scripts && npm run test:check-diff",
12+
"minify": "cd scripts && npm run minify",
13+
"release": "cd scripts && npm run release",
14+
"release:prepare": "cd scripts && npm run release:prepare"
15+
},
16+
"keywords": [
17+
"oie",
18+
"oracle",
19+
"integration"
20+
],
21+
"author": "",
22+
"license": "GPL-3.0"
23+
}
24+

0 commit comments

Comments
 (0)