-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 3.14 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "dyp",
"version": "1.0.0",
"description": "Go fish.",
"engines": {
"node": ">=16 < 18"
},
"author": "adamay000",
"license": "MIT",
"private": true,
"scripts": {
"dev": "BUILD_ENV=dev node --inspect node_modules/nuxi/bin/nuxi.mjs dev",
"build": "nuxi generate",
"generate:schema": "typescript-json-schema app/contents/definition.ts Contents --required --strictNullChecks --out app/contents/schema.json",
"postgenerate:schema": "prettier --write --list-different app/contents/schema.json",
"amplify:contents": "BRANCH=$(git branch | sed -n -e 's/^\\* \\(.*\\)/\\1/p') && aws s3 sync app/public/contents s3://${CONTENTS_BUCKET}/${BRANCH}/public/contents --delete && aws s3 cp app/contents/contents.json s3://${CONTENTS_BUCKET}/${BRANCH}/contents/",
"typecheck": "nuxi typecheck",
"lint:js": "eslint --ext \".js,.ts,.vue\" --ignore-path .gitignore .",
"lint:css": "yarn lint:css:vue && yarn lint:css:scss",
"lint:css:vue": "stylelint \"**/*.vue\" --custom-syntax postcss-html --ignore-path .gitignore",
"lint:css:scss": "stylelint \"**/*.scss\" --custom-syntax postcss-scss --ignore-path .gitignore",
"lint:prettier": "prettier --check .",
"lint": "yarn lint:js && yarn lint:css && yarn lint:prettier",
"lintfix": "prettier --write --list-different . && yarn lint:js --fix && yarn lint:css:vue --fix && yarn lint:css:scss --fix",
"prepare": "simple-git-hooks",
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged && npx nuxi typecheck",
"commit-msg": "npx commitlint --edit $1"
},
"lint-staged": {
"*.{js,ts,vue}": "eslint --cache",
"*.vue": "stylelint --custom-syntax postcss-html",
"*.scss": "stylelint --custom-syntax postcss-scss",
"*.**": "prettier --check --ignore-unknown"
},
"dependencies": {
"ajv": "^8.9.0",
"animejs": "^3.2.1",
"dayjs": "^1.10.7",
"destyle.css": "^3.0.2",
"intersection-observer": "^0.12.0",
"is": "^3.3.0",
"keycode": "^2.2.1",
"p-defer": "^4.0.0",
"throttle-debounce": "^3.0.1"
},
"devDependencies": {
"@commitlint/config-conventional": "^16.0.0",
"@nuxtjs/eslint-config-typescript": "^8.0.0",
"@types/animejs": "^3.1.4",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.4.0",
"@types/throttle-debounce": "^2.1.0",
"@vue/test-utils": "^2.0.0-rc.18",
"@vue/vue3-jest": "^27.0.0-alpha.4",
"commitlint": "^16.0.2",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-nuxt": "^3.1.0",
"fs-extra": "^10.0.0",
"jest": "^27.4.7",
"lint-staged": "^12.1.7",
"nuxt": "npm:nuxt3@latest",
"postcss-html": "^1.3.0",
"postcss-scss": "^4.0.3",
"prettier": "^2.5.1",
"sass": "^1.49.4",
"simple-git-hooks": "^2.7.0",
"stylelint": "^14.3.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recommended-vue": "^1.1.0",
"stylelint-config-standard": "^24.0.0",
"stylelint-order": "^5.0.0",
"stylelint-rscss": "^0.4.0",
"ts-jest": "^27.1.2",
"typescript": "^4.5.4",
"typescript-json-schema": "^0.53.0",
"vue-tsc": "^0.38.1"
}
}