23 lines
566 B
JSON
23 lines
566 B
JSON
{
|
|
"name": "{{ project-name }}",
|
|
"version": "1.0.0",
|
|
"description": "A CORS proxy running in a worker",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"format": "prettier --write '**/*.{js,css,json,md}'"
|
|
},
|
|
"author": "{{ authors }}",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"husky": "^2.1.0",
|
|
"prettier": "^1.17.0"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run format",
|
|
"pre-push": "npm run format"
|
|
}
|
|
}
|
|
}
|