-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
64 lines (64 loc) · 2.22 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
{
"name": "corsify",
"version": "2.2.0",
"description": "A tiny transparent proxy. The benefit: it adds the CORS-headers! Why? It prevents Cross Domain Errors.",
"main": "./server/main.js",
"scripts": {
"verify": "yarn run lint && yarn run test && echo \"verified $npm_package_name v$npm_package_version\" > ./VERSION.md && cat VERSION.md",
"lint": "./node_modules/.bin/eslint ./server/**/*.js && ./node_modules/.bin/stylelint ./views/css/styles.css",
"build": "./node_modules/.bin/postcss ./views/css/styles.css > ./views/css/build.css",
"prestart": "yarn run verify",
"start": "NPM_CONFIG_PRODUCTION=false; NODE_ENV=production forever -o /dev/null -e /dev/null ./server/main.js",
"dev": "NPM_CONFIG_PRODUCTION=false; NODE_ENV=development ./node_modules/.bin/nodemon -e css,js,mustache ./server/main.js",
"nyc": "./node_modules/.bin/nyc --clean ./node_modules/.bin/mocha --exit",
"report": "./node_modules/.bin/nyc report --reporter=lcov --reporter=html",
"coverage": "./node_modules/.bin/nyc check-coverage --lines 100 --functions 100 --branches 100 --statements 100",
"test": "yarn nyc && yarn report && yarn coverage",
"snyk-protect": "snyk protect",
"prepublish": "yarn run snyk-protect"
},
"engines": {
"node": ">=8.4.0",
"yarn": "^1.3.0"
},
"repository": {
"type": "git",
"url": "https://github.com/martinkr/corsify"
},
"homepage": "https://github.com/martinkr/corsify",
"issues": "https://github.com/martinkr/corsify/issues",
"keywords": [
"cors",
"proxy",
"express",
"ajax",
"xhr",
"request",
"corsify",
"node"
],
"author": "Martin Krause <[email protected]> (http://martinkr.github.io)",
"license": "MIT",
"dependencies": {
"compression": "^1.7.1",
"express": "^4.16.0",
"forever": "^4.0.3",
"mustache": "^2.3.0",
"mustache-express": "^1.2.5",
"request": "^2.82.0",
"snyk": "^1.316.1"
},
"devDependencies": {
"nyc": "^15.0.0",
"chai": "^4.1.2",
"cssnano": "^4.0.0",
"cssnano-preset-advanced": "^4.0.0",
"postcss-cli": "^8.0.0",
"nodemon": "^2.0.3",
"mocha": "^7.1.1",
"eslint": "^6.0.0",
"stylelint": "^13.0.0",
"supertest": "^3.0.0"
},
"snyk": true
}