-
-
Notifications
You must be signed in to change notification settings - Fork 147
/
package.json
115 lines (115 loc) · 3.85 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@creativecommons/chooser",
"version": "0.2.0",
"description": "The new and improved Creative Commons License Chooser",
"author": {
"name": "Creative Commons",
"url": "https://creativecommons.org"
},
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/creativecommons/chooser.git"
},
"license": "MIT",
"main": "dist/license-chooser.min.js",
"browser": "dist/license-chooser.min.js",
"module": "dist/license-chooser.min.js",
"unpkg": "dist/license-chooser.min.js",
"files": [
"dist/*.{js,map}",
"dist/img/*.svg"
],
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build && shx rm -rf ./docs && shx cp -r ./dist ./docs",
"test": "vue-cli-service test:unit --coverage && npm run test:cypress",
"test-component": "vue-cli-service test:unit --coverage && cd dist && live-server --port=8080 --entry-file=./demo.html & npm run test:cypress",
"test:unit": "vue-cli-service test:unit",
"build-component": "rm -rf dist && VUE_APP_CC_OUTPUT=embedded vue-cli-service build --target wc --name license-chooser src/main.js",
"test:cypress": "node_modules/.bin/cypress open",
"lint": "vue-cli-service lint src/**/*.{vue,js} --fix && npx stylelint ./src/**/*.{vue,css} --fix",
"i18n:report": "vue-cli-service i18n:report -v --src src/**/*.vue --locales src/locales/**.json -o output.json"
},
"dependencies": {
"@creativecommons/cc-assets": "^0.1.0",
"@creativecommons/vocabulary-components": "^0.3.0",
"@creativecommons/vocabulary-fonts": "^0.1.1",
"@creativecommons/vocabulary-styles": "^0.3.0",
"@fortawesome/fontawesome-svg-core": "^1.3.0-beta3",
"@fortawesome/free-brands-svg-icons": "^5.15.4",
"@fortawesome/free-regular-svg-icons": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/vue-fontawesome": "^2.0.10",
"@sentry/vue": "^5.30.0",
"clipboard": "^2.0.11",
"sass-loader": "^8.0.2",
"vue": "=2.7.16",
"vue-i18n": "^8.28.2",
"vue-scrollto": "^2.20.0",
"vuex": "^3.6.2"
},
"devDependencies": {
"@babel/eslint-parser": "^7.24.1",
"@fullhuman/postcss-purgecss": "=3.0.0",
"@vue/cli-plugin-babel": "^4.5.19",
"@vue/cli-plugin-e2e-nightwatch": "^4.5.19",
"@vue/cli-plugin-eslint": "^4.5.19",
"@vue/cli-plugin-unit-jest": "^4.5.19",
"@vue/cli-service": "^4.5.19",
"@vue/eslint-config-standard": "^5.1.2",
"@vue/test-utils": "^1.3.6",
"babel-plugin-transform-require-context": "^0.1.1",
"cypress": "^12.17.4",
"eslint": "^6.8.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-vue": "^6.2.2",
"lint-staged": "^9.5.0",
"live-server": "^1.2.2",
"prettier": "^2.8.8",
"shx": "^0.3.4",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^20.0.0",
"vue-cli-plugin-i18n": "^2.3.2",
"vue-template-compiler": "=2.7.16"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"src/*.{js,vue}": [
"vue-cli-service lint",
"git add"
],
"*.{css,vue}": [
"stylelint --fix",
"git add"
]
},
"jest": {
"moduleFileExtensions": [
"js",
"vue"
],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
},
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".*\\.(vue)$": "<rootDir>/node_modules/vue-jest",
"^.+\\.(svg|png)$": "<rootDir>/tests/unit/svgTransform.js"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!@creativecommons/cc-assets)"
],
"snapshotSerializers": [
"<rootDir>/node_modules/jest-serializer-vue"
]
}
}