-
Notifications
You must be signed in to change notification settings - Fork 48
/
package.json
127 lines (127 loc) · 3.65 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
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "emoji-mart-vue-fast",
"version": "15.0.3",
"description": "Customizable Slack-like emoji picker for VueJS, fast version",
"main": "dist/emoji-mart.js",
"repository": {
"type": "git",
"url": "[email protected]:serebrov/emoji-mart-vue.git"
},
"keywords": [
"vue",
"vuejs",
"emoji",
"picker"
],
"author": "Borys Serebrov",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/serebrov/emoji-mart-vue/issues"
},
"homepage": "https://github.com/serebrov/emoji-mart-vue",
"dependencies": {
"@babel/runtime": "^7.18.6",
"core-js": "^3.23.5"
},
"peerDependencies": {
"vue": ">2.0.0"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.18.6",
"@size-limit/preset-big-lib": "^7.0.8",
"@vue/test-utils": "^1.3.0",
"@vue/vue2-jest": "^27.0.0",
"acorn": "^8.7.1",
"autoprefixer": "^10.4.14",
"babel-jest": "^27.5.1",
"babel-loader": "^8.2.5",
"css-loader": "^6.7.1",
"emoji-datasource": "15.0.1",
"emojilib": "^3.0.10",
"inflection": "1.13.4",
"jest": "^27.5.1",
"jest-serializer-vue": "^2.0.2",
"jest-transform-stub": "^2.0.0",
"postcss-loader": "^7.0.2",
"prettier": "^2.7.1",
"quasar-framework": "^0.17.20",
"size-limit": "^7.0.8",
"url-loader": "^4.1.1",
"vue": "^2.6.14",
"vue-loader": "^15.9.8",
"vue-style-loader": "^4.1.3",
"vue-template-compiler": "^2.6.14",
"webpack": "^5.76.1",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1"
},
"scripts": {
"clean": "rm -rf dist/",
"build:data": "node scripts/build-data",
"build:data-debug": "node --inspect=0.0.0.0:9230 --inspect-brk scripts/build-data",
"build:dist": "webpack --config src/webpack.config.js",
"build:dist-stats": "webpack --config src/webpack.config.js --profile --json > stats.json",
"build:docs": "webpack --config docs/webpack.config.js",
"build": "npm run clean && npm install --include=dev && npm run build:data && npm run build:dist",
"dev:docs": "webpack -w --config docs/webpack.config.js",
"start": "npm run dev:docs",
"stats": "webpack --config ./spec/webpack.config.js --json > spec/stats.json",
"size-limit": "size-limit",
"test": "NODE_ENV=test jest && size-limit",
"jest": "jest --detectOpenHandles --forceExit --runInBand --coverage",
"jest-debug": "node --inspect=0.0.0.0:9230 --inspect-brk node_modules/.bin/jest --runInBand",
"jest-clear": "jest --clearCache",
"prettier-check": "prettier --check \"{src,spec}/**/*.js\"",
"prettier": "prettier --write \"{src,spec}/**/*.js\""
},
"jest": {
"testMatch": [
"**/spec/*-spec.+(ts|tsx|js)"
],
"moduleFileExtensions": [
"js",
"vue"
],
"snapshotSerializers": [
"jest-serializer-vue"
],
"transform": {
".+\\.vue$": "@vue/vue2-jest",
".+\\.jsx?$": "babel-jest",
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub"
},
"moduleNameMapper": {
".+\\.css$": "<rootDir>/spec/css-stub.js",
"../data/all.json$": "<rootDir>/data/all.json"
},
"transformIgnorePatterns": [
"^.+\\.css$",
"<rootDir>/node_modules/"
],
"collectCoverageFrom": [
"src/**",
"!src/vendor/**",
"!src/polyfills/**",
"!src/webpack.config.js"
],
"testEnvironment": "jsdom"
},
"size-limit": [
{
"path": "dist/emoji-mart.js",
"limit": "80 KB"
}
],
"postcss": {
"plugins": {
"autoprefixer": {}
}
},
"browserslist": [
"last 3 version",
"IE >= 11",
"iOS >= 9"
]
}