-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (55 loc) · 1.79 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
{
"name": "opencors",
"version": "1.0.5",
"description": "OpenCORS is a simple NodeJS based CORS Proxy",
"main": "dist/cjs/opencors.js",
"module": "dist/mjs/opencors.js",
"exports": {
".": {
"import": "./dist/mjs/opencors.js",
"require": "./dist/cjs/opencors.js"
}
},
"scripts": {
"start": "npm run dev-node",
"removedir": "node -e \"var fs = require('fs'); try{process.argv.slice(1).map((fpath) => fs.rmdirSync(fpath, { recursive: true }))}catch(err){console.log(`Dist not found`)}; process.exit(0);\"",
"build-all": "tsc -p tsconfig.json && tsc -p tsconfig-mjs.json && tsc -p tsconfig-cjs.json && echo {\"type\": \"commonjs\"}>dist\\cjs\\package.json && echo {\"type\": \"module\"}>dist\\mjs\\package.json",
"build": "npm run removedir dist && npm run removedir public && npm run build-all",
"build-dev":"npm run removedir public && tsc -p tsconfig.json",
"dev-node":"nodemon -e js,ts --watch src --watch server.ts --exec \"npm run build-dev && node public/server.js\"",
"dev":"npm run dev-node",
"test-win":"npm link && cd .\\test\\cjs && npm install && npm link opencors && cd .\\..\\mjs && npm install && npm link opencors",
"test": "npm run dev-node"
},
"files": [
"dist/",
"LICENSE"
],
"repository": {
"type": "git",
"url": "git+https://github.com/nuzulul/opencors.git"
},
"keywords": [
"cors",
"cors-proxy",
"nodejs",
"node-js",
"node",
"opencors",
"proxy",
"cross-domain",
"cross-origin",
"scraper"
],
"author": "Nuzulul Zulkarnain",
"license": "MIT",
"bugs": {
"url": "https://github.com/nuzulul/opencors/issues"
},
"homepage": "https://github.com/nuzulul/opencors#readme",
"devDependencies": {
"nodemon": "^3.0.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}