-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
108 lines (108 loc) · 2.97 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
{
"name": "@osiris-ui/osiris",
"version": "0.9.0",
"description": "A Vue.js 2.0 universal responsive UI component library",
"main": "dist/osiris.js",
"module": "dist/osiris.es.js",
"unpkg": "dist/osiris.min.js",
"files": [
"dist"
],
"scripts": {
"dev": "start-storybook -p 9001 -c .storybook",
"deploy-storybook": "storybook-to-ghpages",
"build": "rm -rf ./dist && bili",
"tdd": "jest --watch",
"test": "jest",
"coverage": "codecov",
"test:newsnapshot": "npm run test -- -u",
"lint": "eslint --ext .vue --ext .js src/",
"lint:fix": "npm run lint --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/osiris-ui/osiris.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/osiris-ui/osiris/issues"
},
"homepage": "https://github.com/osiris-ui/osiris#readme",
"devDependencies": {
"@storybook/addon-knobs": "^3.4.10",
"@storybook/addon-storyshots": "^3.4.10",
"@storybook/addon-storysource": "^3.4.8",
"@storybook/storybook-deployer": "^2.3.0",
"@storybook/vue": "^3.4.8",
"@vue/test-utils": "^1.0.0-beta.24",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.6",
"babel-jest": "^23.4.2",
"babel-plugin-lodash": "^3.3.4",
"babel-preset-env": "^1.7.0",
"bili": "^3.1.2",
"css-loader": "^1.0.0",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-config-postcss": "^3.0.3",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^2.1.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-vue": "^4.7.1",
"file-loader": "^1.1.11",
"husky": "^1.0.0-rc.13",
"identity-obj-proxy": "^3.0.0",
"jest": "^23.4.2",
"jest-serializer-vue": "^2.0.2",
"rollup-plugin-vue": "^3.0.0",
"vue-jest": "^2.6.0",
"vue-loader": "^14.2.2",
"vue-template-compiler": "^2.5.16"
},
"dependencies": {
"codecov": "^3.0.4",
"lodash": "^4.17.10",
"popper.js": "^1.14.4",
"validate.js": "^0.12.0",
"vue": "^2.5.16",
"vue-click-outside": "^1.0.7",
"vue2-transitions": "^0.2.3"
},
"jest": {
"verbose": true,
"testURL": "http://localhost/",
"collectCoverage": true,
"coverageDirectory": "./coverage/",
"collectCoverageFrom": [
"src/**/*.{js,vue}",
"!**/node_modules/**"
],
"moduleFileExtensions": [
"js",
"json",
"vue"
],
"transform": {
".*\\.(vue)$": "vue-jest",
"^.+\\.js$": "<rootDir>/node_modules/babel-jest"
},
"snapshotSerializers": [
"<rootDir>/node_modules/jest-serializer-vue"
],
"testMatch": [
"<rootDir>/(src/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx))"
],
"transformIgnorePatterns": [
"/node_modules/(?!(@storybook/.*\\.vue$))"
],
"moduleNameMapper": {
"\\.(css|less|scss|sass)$": "identity-obj-proxy"
}
},
"husky": {
"hooks": {
"pre-push": "npm run lint && npm test"
}
}
}