|
1 | 1 | {
|
2 |
| - "name": "chooser", |
3 |
| - "version": "1.0.0", |
4 |
| - "description": "The new and improved Creative Commons License Chooser", |
5 |
| - "author": "akmadian <akmadian@gmail.com>", |
6 |
| - "private": false, |
7 |
| - "repository": { |
8 |
| - "type": "git", |
9 |
| - "url": "git+https://github.com/creativecommons/chooser.git" |
| 2 | + "name": "chooser", |
| 3 | + "version": "1.0.0", |
| 4 | + "description": "The new and improved Creative Commons License Chooser", |
| 5 | + "author": "akmadian <akmadian@gmail.com>", |
| 6 | + "private": false, |
| 7 | + "repository": { |
| 8 | + "type": "git", |
| 9 | + "url": "git+https://github.com/creativecommons/chooser.git" |
| 10 | + }, |
| 11 | + "license": "MIT", |
| 12 | + "scripts": { |
| 13 | + "serve": "vue-cli-service serve", |
| 14 | + "build": "vue-cli-service build && shx rm -rf ./docs && shx cp -r ./dist ./docs", |
| 15 | + "test": "vue-cli-service test:unit --coverage && npm run test:cypress", |
| 16 | + "test-component": "vue-cli-service test:unit --coverage && cd dist && live-server --port=8080 --entry-file=./demo.html & npm run test:cypress", |
| 17 | + "test:unit": "vue-cli-service test:unit", |
| 18 | + "build-component": "rm -rf dist && vue-cli-service build --target wc --name license-chooser src/main.js", |
| 19 | + "test:cypress": "node_modules/.bin/cypress open", |
| 20 | + "lint": "vue-cli-service lint src/**/*.{vue,js} --fix && npx stylelint ./src/**/*.{vue,css} --fix", |
| 21 | + "i18n:report": "vue-cli-service i18n:report -v --src src/**/*.vue --locales src/locales/**.json -o output.json" |
| 22 | + }, |
| 23 | + "dependencies": { |
| 24 | + "@creativecommons/cc-assets": "^0.1.0", |
| 25 | + "@creativecommons/vocabulary-components": "^0.1.0", |
| 26 | + "@creativecommons/vocabulary-fonts": "^0.1.1", |
| 27 | + "@creativecommons/vocabulary-styles": "^0.1.0", |
| 28 | + "@fortawesome/fontawesome-svg-core": "^1.3.0-beta3", |
| 29 | + "@fortawesome/free-brands-svg-icons": "^5.15.4", |
| 30 | + "@fortawesome/free-regular-svg-icons": "^6.0.0-beta3", |
| 31 | + "@fortawesome/free-solid-svg-icons": "^6.0.0-beta3", |
| 32 | + "@fortawesome/vue-fontawesome": "^2.0.6", |
| 33 | + "@sentry/vue": "^5.29.2", |
| 34 | + "bulma": "^0.9.1", |
| 35 | + "clipboard": "^2.0.6", |
| 36 | + "core-js": "^3.6.5", |
| 37 | + "sass": "^1.45.1", |
| 38 | + "sass-loader": "^8.0.2", |
| 39 | + "vue": "^2.6.10", |
| 40 | + "vue-analytics": "^5.22.1", |
| 41 | + "vue-hotjar": "^1.2.0", |
| 42 | + "vue-i18n": "^8.20.0", |
| 43 | + "vue-scrollto": "^2.20.0", |
| 44 | + "vuex": "^3.5.1" |
| 45 | + }, |
| 46 | + "devDependencies": { |
| 47 | + "@fullhuman/postcss-purgecss": "^3.1.3", |
| 48 | + "@vue/cli-plugin-babel": "^4.4.6", |
| 49 | + "@vue/cli-plugin-e2e-nightwatch": "^4.4.6", |
| 50 | + "@vue/cli-plugin-eslint": "~4.5.0", |
| 51 | + "@vue/cli-plugin-unit-jest": "^4.4.6", |
| 52 | + "@vue/cli-service": "^4.4.6", |
| 53 | + "@vue/eslint-config-standard": "^5.1.2", |
| 54 | + "@vue/test-utils": "^1.1.2", |
| 55 | + "babel-eslint": "^10.1.0", |
| 56 | + "babel-plugin-transform-require-context": "^0.1.1", |
| 57 | + "clipboardy": "^2.3.0", |
| 58 | + "cypress": "^6.3.0", |
| 59 | + "eslint": "^6.8.0", |
| 60 | + "eslint-config-prettier": "^7.2.0", |
| 61 | + "eslint-plugin-cypress": "^2.11.2", |
| 62 | + "eslint-plugin-import": "^2.22.0", |
| 63 | + "eslint-plugin-node": "^11.1.0", |
| 64 | + "eslint-plugin-prettier": "^3.3.1", |
| 65 | + "eslint-plugin-promise": "^4.2.1", |
| 66 | + "eslint-plugin-standard": "^4.0.1", |
| 67 | + "eslint-plugin-vue": "^6.2.2", |
| 68 | + "lint-staged": "^9.5.0", |
| 69 | + "live-server": "^1.2.1", |
| 70 | + "prettier": "^1.19.1", |
| 71 | + "shx": "^0.3.3", |
| 72 | + "stylelint": "^13.10.0", |
| 73 | + "stylelint-config-prettier": "^8.0.2", |
| 74 | + "stylelint-config-standard": "^20.0.0", |
| 75 | + "vue-cli-plugin-i18n": "^0.6.1", |
| 76 | + "vue-template-compiler": "^2.6.10" |
| 77 | + }, |
| 78 | + "gitHooks": { |
| 79 | + "pre-commit": "lint-staged" |
| 80 | + }, |
| 81 | + "lint-staged": { |
| 82 | + "src/*.{js,vue}": [ |
| 83 | + "vue-cli-service lint", |
| 84 | + "git add" |
| 85 | + ], |
| 86 | + "*.{css,vue}": [ |
| 87 | + "stylelint --fix", |
| 88 | + "git add" |
| 89 | + ] |
| 90 | + }, |
| 91 | + "jest": { |
| 92 | + "moduleFileExtensions": [ |
| 93 | + "js", |
| 94 | + "vue" |
| 95 | + ], |
| 96 | + "moduleNameMapper": { |
| 97 | + "^@/(.*)$": "<rootDir>/src/$1" |
10 | 98 | },
|
11 |
| - "license": "MIT", |
12 |
| - "scripts": { |
13 |
| - "serve": "vue-cli-service serve", |
14 |
| - "build": "vue-cli-service build && shx rm -rf ./docs && shx cp -r ./dist ./docs", |
15 |
| - "test": "vue-cli-service test:unit --coverage && npm run test:cypress", |
16 |
| - "test-component": "vue-cli-service test:unit --coverage && cd dist && live-server --port=8080 --entry-file=./demo.html & npm run test:cypress", |
17 |
| - "test:unit": "vue-cli-service test:unit", |
18 |
| - "build-component": "rm -rf dist && vue-cli-service build --target wc --name license-chooser src/main.js", |
19 |
| - "test:cypress": "node_modules/.bin/cypress open", |
20 |
| - "lint": "vue-cli-service lint src/**/*.{vue,js} --fix && npx stylelint ./src/**/*.{vue,css} --fix", |
21 |
| - "i18n:report": "vue-cli-service i18n:report -v --src src/**/*.vue --locales src/locales/**.json -o output.json" |
| 99 | + "transform": { |
| 100 | + "^.+\\.js$": "<rootDir>/node_modules/babel-jest", |
| 101 | + ".*\\.(vue)$": "<rootDir>/node_modules/vue-jest", |
| 102 | + "^.+\\.(svg|png)$": "<rootDir>/tests/unit/svgTransform.js" |
22 | 103 | },
|
23 |
| - "dependencies": { |
24 |
| - "@creativecommons/cc-assets": "^0.1.0", |
25 |
| - "@creativecommons/vocabulary-components": "^0.1.0", |
26 |
| - "@creativecommons/vocabulary-fonts": "^0.1.1", |
27 |
| - "@creativecommons/vocabulary-styles": "^0.1.0", |
28 |
| - "@fortawesome/fontawesome-svg-core": "^1.3.0-beta3", |
29 |
| - "@fortawesome/free-brands-svg-icons": "^5.15.4", |
30 |
| - "@fortawesome/free-regular-svg-icons": "^6.0.0-beta3", |
31 |
| - "@fortawesome/free-solid-svg-icons": "^6.0.0-beta3", |
32 |
| - "@fortawesome/vue-fontawesome": "^2.0.6", |
33 |
| - "@sentry/vue": "^5.29.2", |
34 |
| - "bulma": "^0.9.1", |
35 |
| - "clipboard": "^2.0.6", |
36 |
| - "core-js": "^3.6.5", |
37 |
| - "sass": "^1.45.1", |
38 |
| - "sass-loader": "^8.0.2", |
39 |
| - "vue": "^2.6.10", |
40 |
| - "vue-analytics": "^5.22.1", |
41 |
| - "vue-hotjar": "^1.2.0", |
42 |
| - "vue-i18n": "^8.20.0", |
43 |
| - "vue-scrollto": "^2.20.0", |
44 |
| - "vuex": "^3.5.1" |
45 |
| - }, |
46 |
| - "devDependencies": { |
47 |
| - "@fullhuman/postcss-purgecss": "^3.1.3", |
48 |
| - "@vue/cli-plugin-babel": "^4.4.6", |
49 |
| - "@vue/cli-plugin-e2e-nightwatch": "^4.4.6", |
50 |
| - "@vue/cli-plugin-eslint": "~4.5.0", |
51 |
| - "@vue/cli-plugin-unit-jest": "^4.4.6", |
52 |
| - "@vue/cli-service": "^4.4.6", |
53 |
| - "@vue/eslint-config-standard": "^5.1.2", |
54 |
| - "@vue/test-utils": "^1.1.2", |
55 |
| - "babel-eslint": "^10.1.0", |
56 |
| - "babel-plugin-transform-require-context": "^0.1.1", |
57 |
| - "clipboardy": "^2.3.0", |
58 |
| - "cypress": "^6.3.0", |
59 |
| - "eslint": "^6.8.0", |
60 |
| - "eslint-config-prettier": "^7.2.0", |
61 |
| - "eslint-plugin-cypress": "^2.11.2", |
62 |
| - "eslint-plugin-import": "^2.22.0", |
63 |
| - "eslint-plugin-node": "^11.1.0", |
64 |
| - "eslint-plugin-prettier": "^3.3.1", |
65 |
| - "eslint-plugin-promise": "^4.2.1", |
66 |
| - "eslint-plugin-standard": "^4.0.1", |
67 |
| - "eslint-plugin-vue": "^6.2.2", |
68 |
| - "lint-staged": "^9.5.0", |
69 |
| - "live-server": "^1.2.1", |
70 |
| - "prettier": "^1.19.1", |
71 |
| - "shx": "^0.3.3", |
72 |
| - "stylelint": "^13.10.0", |
73 |
| - "stylelint-config-prettier": "^8.0.2", |
74 |
| - "stylelint-config-standard": "^20.0.0", |
75 |
| - "vue-cli-plugin-i18n": "^0.6.1", |
76 |
| - "vue-template-compiler": "^2.6.10" |
77 |
| - }, |
78 |
| - "gitHooks": { |
79 |
| - "pre-commit": "lint-staged" |
80 |
| - }, |
81 |
| - "lint-staged": { |
82 |
| - "src/*.{js,vue}": [ |
83 |
| - "vue-cli-service lint", |
84 |
| - "git add" |
85 |
| - ], |
86 |
| - "*.{css,vue}": [ |
87 |
| - "stylelint --fix", |
88 |
| - "git add" |
89 |
| - ] |
90 |
| - }, |
91 |
| - "jest": { |
92 |
| - "moduleFileExtensions": [ |
93 |
| - "js", |
94 |
| - "vue" |
95 |
| - ], |
96 |
| - "moduleNameMapper": { |
97 |
| - "^@/(.*)$": "<rootDir>/src/$1" |
98 |
| - }, |
99 |
| - "transform": { |
100 |
| - "^.+\\.js$": "<rootDir>/node_modules/babel-jest", |
101 |
| - ".*\\.(vue)$": "<rootDir>/node_modules/vue-jest", |
102 |
| - "^.+\\.(svg|png)$": "<rootDir>/tests/unit/svgTransform.js" |
103 |
| - }, |
104 |
| - "snapshotSerializers": [ |
105 |
| - "<rootDir>/node_modules/jest-serializer-vue" |
106 |
| - ] |
107 |
| - } |
| 104 | + "transformIgnorePatterns": [ |
| 105 | + "<rootDir>/node_modules/(?!@creativecommons/cc-assets)" |
| 106 | + ], |
| 107 | + "snapshotSerializers": [ |
| 108 | + "<rootDir>/node_modules/jest-serializer-vue" |
| 109 | + ] |
| 110 | + } |
108 | 111 | }
|
0 commit comments