forked from mallfoundry/taroify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.28 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
{
"name": "taroify",
"version": "0.3.1-alpha.0",
"license": "MIT",
"private": true,
"repository": {
"type": "https",
"url": "https://github.com/mallfoundry/taroify.git"
},
"bugs": {
"url": "https://github.com/mallfoundry/taroify/issues/new"
},
"scripts": {
"clean:node_modules": "lerna clean --yes && rimraf node_modules && cd ./site && rimraf node_modules",
"install:node_modules": "yarn install && gulp createBundles && lerna bootstrap && cd ./site && yarn install",
"clean": "gulp clean",
"develop": "gulp develop",
"watch": "gulp watch",
"build:www": "gulp buildWww",
"build:packages": "gulp buildPackages",
"build": "yarn run clean && yarn run build:packages && yarn run build:www",
"publish": "yarn run clean && yarn run build && lerna publish from-package",
"lerna:prerelease": "lerna version prerelease --yes --no-git-tag-version --conventional-graduate",
"lerna:prepatch": "lerna version prepatch --yes --no-git-tag-version --conventional-graduate",
"lerna:preminor": "lerna version preminor --yes --no-git-tag-version --conventional-graduate",
"version:prerelease": "yarn run lerna:prerelease && node scripts/version.js",
"version:prepatch": "yarn run lerna:prepatch && node scripts/version.js",
"version:preminor": "yarn run lerna:preminor && node scripts/version.js",
"test": "jest",
"test:coverage": "jest --coverage",
"lint": "eslint packages --fix --ext .ts,.tsx",
"lint:style": "stylelint packages/**/*.scss site/**/*.scss --fix --color --syntax scss",
"sort": "npx sort-package-json \"package.json\" \"packages/*/package.json\""
},
"workspaces": [
"packages/*",
"bundles/*",
"problems/*"
],
"browserslist": [
"last 3 versions",
"Android >= 4.1",
"ios >= 8"
],
"lint-staged": {
"*.md": "prettier --write",
"*.{ts,tsx,js,scss}": "prettier --write",
"*.{ts,tsx,js}": "eslint --fix",
"*.{css,scss}": "stylelint --fix"
},
"devDependencies": {
"@taroify/cli": "^0.3.1-alpha.0",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.25",
"cross-env": "^7.0.3",
"lerna": "^3.22.1",
"prettier": "^2.2.1",
"sass": "^1.49.7",
"stylelint": "^13.12.0",
"typescript": "^4.2.4"
},
"resolutions": {
"@types/react": "18.2.0"
}
}