UNPKG

3.61 kBJSONView Raw
1{
2 "name": "vue-scrollbar-live",
3 "version": "5.7.1",
4 "description": "A vue scrollbar component, support SSR.",
5 "main": "./lib/umd/index.js",
6 "module": "./lib/es/index.js",
7 "unpkg": "./lib/umd/index.js",
8 "css_path": "./lib/css/index.css",
9 "scss_path": "./lib/css/index.scss",
10 "types": "./index.d.ts",
11 "scripts": {
12 "build:css": "cross-env NODE_ENV=production node-sass ./src/css/index.scss ./lib/css/index.css --output-style compressed && ncp ./src/css ./lib/css",
13 "build:js": "cross-env NODE_ENV=production rollup -c",
14 "dev": "rimraf ./lib && cross-env BUILD_ENV=watch node watch.js",
15 "build": "rimraf ./lib && npm run build:css && npm run build:js",
16 "eslint": "eslint ./ --ext .vue,.ts,.js --fix",
17 "test": "cross-env BABEL_ENV=test karma start --single-run",
18 "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
19 "commit": "git-cz"
20 },
21 "repository": {
22 "type": "git",
23 "url": "https://github.com/livelybone/vue-scrollbar-live.git"
24 },
25 "keywords": [
26 "vue",
27 "scrollbar",
28 "PC",
29 "IE/Edge",
30 "mobile",
31 "SSR support"
32 ],
33 "author": "2631541504@qq.com",
34 "license": "MIT",
35 "bugs": {
36 "url": "https://github.com/livelybone/vue-scrollbar-live/issues"
37 },
38 "homepage": "https://github.com/livelybone/vue-scrollbar-live#readme",
39 "devDependencies": {
40 "@babel/core": "^7.5.0",
41 "@babel/plugin-transform-runtime": "^7.5.0",
42 "@babel/preset-env": "^7.5.0",
43 "@babel/preset-typescript": "^7.3.3",
44 "@babel/runtime": "^7.5.1",
45 "@livelybone/singleton": "^1.1.1",
46 "@typescript-eslint/eslint-plugin": "^1.12.0",
47 "@typescript-eslint/parser": "^1.11.0",
48 "@vue/test-utils": "^1.0.0-beta.19",
49 "babel-loader": "^8.0.6",
50 "babel-plugin-istanbul": "^5.1.4",
51 "chai": "^4.2.0",
52 "chalk": "^2.4.2",
53 "chokidar": "^3.0.2",
54 "commitizen": "^3.0.7",
55 "conventional-changelog-cli": "^2.0.12",
56 "cross-env": "^5.2.0",
57 "cross-spawn": "^6.0.5",
58 "cz-conventional-changelog": "^2.1.0",
59 "eslint": "^5.3.0",
60 "eslint-config-airbnb-base": "^13.0.0",
61 "eslint-config-prettier": "^6.0.0",
62 "eslint-plugin-import": "^2.12.0",
63 "eslint-plugin-prettier": "^3.1.0",
64 "eslint-plugin-vue": "^5.1.0",
65 "express": "^4.17.1",
66 "husky": "^3.0.0",
67 "karma": "^4.1.0",
68 "karma-chai": "^0.1.0",
69 "karma-chrome-launcher": "^2.2.0",
70 "karma-coverage": "^1.1.2",
71 "karma-mocha": "^1.3.0",
72 "karma-sourcemap-loader": "^0.3.7",
73 "karma-spec-reporter": "0.0.32",
74 "karma-webpack": "^4.0.2",
75 "lint-staged": "^9.2.0",
76 "mocha": "^6.1.4",
77 "ncp": "^2.0.0",
78 "prettier": "^1.18.2",
79 "rollup": "^1.16.7",
80 "rollup-plugin-babel": "^4.3.3",
81 "rollup-plugin-commonjs": "^10.0.1",
82 "rollup-plugin-license": "^0.9.0",
83 "rollup-plugin-node-resolve": "^5.2.0",
84 "rollup-plugin-uglify": "^6.0.2",
85 "rollup-plugin-vue": "^5.0.1",
86 "ts-loader": "^6.0.4",
87 "typescript": "^3.5.3",
88 "vue": "^2.5.16",
89 "vue-loader": "^15.2.4",
90 "vue-template-compiler": "^2.5.16",
91 "webpack": "^4.12.0",
92 "webpack-command": "^0.2.1"
93 },
94 "dependencies": {
95 "@livelybone/mouse-events": "^1.0.0",
96 "@livelybone/scroll-get": "^5.0.2"
97 },
98 "config": {
99 "commitizen": {
100 "path": "./node_modules/cz-conventional-changelog"
101 }
102 },
103 "husky": {
104 "hooks": {
105 "pre-commit": "lint-staged"
106 }
107 },
108 "lint-staged": {
109 "**/*.{js,ts,vue}": [
110 "eslint --fix",
111 "git update-index --again"
112 ],
113 "**/*.scss": [
114 "prettier --write",
115 "git update-index --again"
116 ]
117 }
118}