-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·96 lines (96 loc) · 2.68 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
{
"name": "tt-mp",
"version": "1.1.4",
"description": "一套组件化、可复用、易扩展的头条小程序 UI 组件库",
"main": "lib/index.js",
"module": "es/index.js",
"miniprogram": "lib",
"scripts": {
"start": "cross-env NODE_ENV=development gulp",
"build:example": "cross-env NODE_ENV=development gulp buildExample",
"build:core": "cross-env NODE_ENV=production gulp buildCore",
"build:es": "cross-env NODE_ENV=production gulp buildEs",
"build:lib": "cross-env NODE_ENV=production gulp buildLib",
"build": "cross-env NODE_ENV=production gulp build",
"release": "bash ./scripts/release.sh",
"eslint": "eslint src example --ext .js",
"eslint:fix": "eslint src example --ext .js --fix",
"stylelint": "stylelint \"{src,example}/**/*.less\" --syntax less",
"stylelint:fix": "stylelint \"{src,example}/**/*.{wxss,less}\" --syntax less --fix",
"lint": "npm run eslint && npm run stylelint",
"lint:fix": "npm run eslint:fix && npm run stylelint:fix"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/register": "^7.5.5",
"babel-eslint": "^10.0.3",
"cross-env": "1.0.8",
"del": "^5.0.0",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-prettier": "^3.1.0",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-clean-css": "^3.10.0",
"gulp-cssnano": "^2.1.2",
"gulp-less": "^3.3.2",
"gulp-postcss": "^7.0.0",
"gulp-rename": "^1.2.2",
"gulp-uglify": "^3.0.2",
"gulp-util": "^3.0.8",
"husky": "^3.1.0",
"lint-staged": "^9.5.0",
"postcss-font-base64": "^1.0.5",
"prettier": "^2.0.5",
"stylelint": "^12.0.0",
"stylelint-config-standard": "^19.0.0",
"through2": "^2.0.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/winteraq/tt-mini-app.git"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,example}/**/*.js": [
"eslint --fix",
"prettier --write",
"git add"
],
"{src,example}/**/*.{wxss,less}": [
"stylelint --fix",
"git add"
]
},
"keywords": [
"component",
"bem-css",
"tt-weapp",
"weapp",
"toutiao",
"miniprogram"
],
"author": "winteraq",
"license": "MIT",
"bugs": {
"url": "https://github.com/winteraq/tt-mini-app/issues"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"files": [
"lib",
"es",
"core",
"src"
],
"homepage": "https://github.com/winteraq/tt-mini-app#readme"
}