forked from Tencent/tdesign-miniprogram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.75 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
{
"name": "tdesign-miniprogram",
"purename": "tdesign",
"version": "0.1.0-alpha.1",
"description": "tdesign-miniprogram",
"title": "tdesign-miniprogram",
"main": "miniprogram_dist/index.js",
"miniprogram": "miniprogram_dist",
"keywords": [
"tdesign",
"miniprogram"
],
"scripts": {
"start": "npm run dev",
"dev": "cross-env NODE_ENV=development gulp dev --gulpfile script/gulpfile.js --cwd ./",
"build": "cross-env NODE_ENV=production gulp build --gulpfile script/gulpfile.js --cwd ./",
"build:dist": "gulp --gulpfile script/gulpfile.dist.js --cwd ./",
"build:example": "gulp --gulpfile script/gulpfile.example.js --cwd ./",
"lintfix": "eslint '{src,example}/**/*.{js,ts}' --fix",
"lint": "eslint '{src,example}/**/*.{js,ts}'",
"format": "prettier {src,example,script}/**/*.{js,ts,wxss,less,wxml,html,json,md,wxs} --write",
"site": "cd site && npm run build",
"site:dev": "cd site && npm run dev",
"test": "jest -c jest.unit.config.js && jest -c jest.e2e.config.js",
"test:unit": "jest -c jest.unit.config.js",
"test:e2e": "jest -c jest.e2e.config.js"
},
"author": "tdesign",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-typescript": "^7.12.7",
"@types/jest": "^27.0.3",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"babel-jest": "^26.6.3",
"cross-env": "^7.0.2",
"del": "^5.1.0",
"eslint": "^7.0.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-prettier": "^4.0.0",
"gray-matter": "^4.0.3",
"gulp": "^4.0.2",
"gulp-changed": "^4.0.2",
"gulp-less": "^4.0.1",
"gulp-mp-npm": "^1.9.7",
"gulp-plumber": "^1.2.1",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.0.0",
"gulp-replace-task": "^2.0.1",
"gulp-sourcemaps": "^2.6.5",
"gulp-typescript": "^6.0.0-alpha.1",
"husky": "^4.2.3",
"jest": "^26.6.3",
"jest-html-reporter": "^3.3.0",
"lint-staged": "^10.0.0-1",
"miniprogram-api-typings": "^3.4.4",
"miniprogram-automator": "^0.10.0",
"miniprogram-simulate": "^1.2.8",
"prettier": "^2.0.5",
"stylelint": "^13.13.1",
"typescript": "^4.5.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,example,script}/**/*.{js,ts,wxml,html,json,md,wxs}": [
"prettier --write"
],
"{src,example}/**/*.{js,ts}": [
"eslint --fix"
],
"{src,example}/**/*.less": [
"stylelint --fix"
]
},
"dependencies": {
"dayjs": "^1.10.7",
"lodash": "^4.17.21",
"vite": "^2.5.10"
},
"workspaces": [
"./site"
]
}