-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
95 lines (95 loc) · 2.92 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
{
"name": "teible-monorepo",
"description": "Teible Monorepo",
"repository": "git@github.com:hiendv/teible.git",
"author": "Hien Dao <hien.dv.neo@gmail.com>",
"license": "MIT",
"private": true,
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.7",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@commitlint/config-lerna-scopes": "^12.1.4",
"@hiendv/bem-sass": "^0.1.0",
"@testing-library/jest-dom": "^5.14.1",
"@vue/test-utils": "^1.2.1",
"autoprefixer": "^10.2.6",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^27.0.6",
"clone": "^2.1.2",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.29.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-vue": "^7.12.1",
"husky": "^6.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.0.6",
"jest-serializer-vue": "^2.0.2",
"lerna": "^4.0.0",
"octicons-vue": "^1.0.11",
"postcss": "^8.3.5",
"rimraf": "^3.0.2",
"rollup-plugin-postcss": "^4.0.0",
"sass": "^1.35.1",
"vite": "^2.3.8",
"vite-plugin-vue2": "^1.7.2",
"vue": "^2.6.14",
"vue-jest": "^3.0.7",
"vue-template-compiler": "^2.6.14"
},
"jest": {
"collectCoverageFrom": [
"packages/**/src/**/*.{js,vue}",
"!packages/*-example/src/**/*"
],
"moduleFileExtensions": [
"js",
"vue"
],
"testEnvironment": "jsdom",
"transform": {
"^.+\\.js?$": "babel-jest",
"^.+\\.vue$": "vue-jest"
},
"snapshotSerializers": [
"jest-serializer-vue"
],
"moduleNameMapper": {
"\\.(scss)$": "identity-obj-proxy"
},
"testURL": "http://localhost"
},
"scripts": {
"setup": "lerna clean --yes && lerna bootstrap",
"clean": "rimraf packages/**/dist/*",
"build:normal": "lerna exec --scope {teible,vue-teible} --parallel -- vite build",
"build:iife": "lerna exec --scope vue-teible -- vite build -c vite.config.iife.js",
"build": "$npm_execpath run build:normal && $npm_execpath run build:iife",
"watch": "$npm_execpath run build:normal -- --watch",
"lint": "eslint --ext .js,.vue,.jsx packages/* --fix",
"serve:vue": "lerna exec --scope vue-teible-example -- vite",
"build:vue": "lerna exec --scope vue-teible-example -- vite build",
"prebuild": "$npm_execpath run clean",
"prewatch": "$npm_execpath run clean",
"prebuild:vue": "$npm_execpath run lint",
"test": "jest --no-cache",
"pretest": "$npm_execpath run lint",
"test-ci": "$npm_execpath run build && $npm_execpath run test -- --coverage --ci --maxWorkers=4",
"prepare": "husky install"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"peerDependencies": {
"postcss": "^8.3.5"
},
"workspaces": [
"packages/*"
]
}