-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
_package.json
40 lines (40 loc) · 1.61 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
{
"name": "<%= name %>",
"version": "0.1.0",
"description": "<%= description %>",
"author": "<%= author %>",
"private": true,
"scripts": {
"aws-push": "aws s3 sync --acl public-read --cache-control max-age=120,public ./dist/ s3://<%= host %>/$npm_package_name/",
"build": "nuxt build",
"dev": "nuxt",
"generate": "nuxt generate",
"github-setup": "echo 'GitHub user name: \\c' && read user && curl -u $user https://api.github.com/orgs/PublicI/repos -d '{\"name\":\"'$npm_package_name'\",\"private\":true}' && git remote add origin 'https://github.com/PublicI/'$npm_package_name'.git'",
"heroku-postbuild": "npm run build",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"precommit": "npm run lint",
"push": "s3-deploy './dist/**' --cwd './dist/' --bucket <%= host %> --gzip --filePrefix $npm_package_name --cache 120",
"start": "nuxt start"
},
"dependencies": {
"@nuxtjs/axios": "^5.12.2",
"@nuxtjs/google-analytics": "^2.2.3",
"less": "^3.11.1",
"less-loader": "^7.0.1",
"nuxt": "^2.14.4",
"pym.js": "^1.3.2",
"s3-deploy": "^1.4.0",
"source-map-support": "^0.5.16"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"eslint": "^7.8.1",
"eslint-config-standard": "^14.1.1",
"eslint-loader": "^4.0.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-vue": "^7.0.0"
}
}