-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
97 lines (97 loc) · 3.1 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
{
"name": "@w6s/sdk",
"version": "2.0.3",
"description": "WorkPlusFE JavaScript SDK.",
"main": "index.js",
"main:min": "dist/sdk.{{_VERSION_}}.js",
"module": "dist/sdk.mjs",
"typings": "index.d.ts",
"scripts": {
"lint:prettier": "prettier '{modules,test}/**/*.{js,jsx,ts,tsx,json}' --write",
"lint:fix": "cd modules && eslint --fix './**/*.{js,jsx,ts,tsx,json}' --ext .ts,.tsx --fix",
"lint": "npm run lint:prettier && npm run lint:fix",
"pretest": "npm run build",
"build:common": "tsc -P modules/tsconfig.commonjs.json",
"build:prod": "cross-env NODE_ENV=production rollup -c scripts/rollup.config.js",
"build": "rimraf dist && npm run build:common && npm run build:prod && cp ./README.md ./dist/ && cp ./scripts/package.json ./dist/",
"watch": "rollup -c -w",
"demo": "npm run build && cd example && npm run serve",
"demo-pc": "npm run build && cd example-pc && npm run serve",
"demo:notbuild": "cd example && npm run serve",
"release": "bash scripts/release.sh",
"release:note": "node scripts/genReleaseNote.js",
"release:version": "node scripts/replaceVersion.js",
"cz": "cz"
},
"keywords": [
"WorkPlusFE",
"w6s",
"sdk"
],
"author": "WorkPlusFE",
"resolutions": {
"watchpack": "1.6.1"
},
"devDependencies": {
"@babel/core": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@rollup/plugin-alias": "^2.2.0",
"@rollup/plugin-auto-install": "^2.0.0",
"@rollup/plugin-beep": "^0.1.2",
"@rollup/plugin-buble": "^0.20.0",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-node-resolve": "^6.0.0",
"@rollup/plugin-replace": "^2.2.1",
"@rollup/pluginutils": "^3.0.0",
"@types/cordova": "^0.0.34",
"@types/jest": "^24.0.24",
"@typescript-eslint/eslint-plugin": "^2.12.0",
"@typescript-eslint/parser": "^2.12.0",
"@vuepress/plugin-back-to-top": "^1.5.2",
"@vuepress/plugin-medium-zoom": "^1.5.3",
"@vuepress/plugin-register-components": "^1.5.3",
"babel-eslint": "10.0.3",
"babel-plugin-external-helpers": "^6.8.0",
"babel-register": "^6.11.6",
"commitizen": "^4.2.4",
"conventional-changelog": "^3.1.23",
"cross-env": "^6.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.7.0",
"fs-extra": "^8.1.0",
"husky": "^3.1.0",
"jest": "^24.9.0",
"moment": "^2.27.0",
"path": "^0.12.7",
"prettier": "^1.19.1",
"replace-x": "^1.7.2",
"rimraf": "^3.0.0",
"rollup": "^1.27.13",
"rollup-plugin-babel": "4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-filesize": "^6.2.1",
"rollup-plugin-istanbul": "^1.0.0",
"rollup-plugin-typescript2": "^0.25.3",
"rollup-plugin-uglify": "^6.0.4",
"rollup-watch": "4.3.1",
"ts-jest": "^24.2.0",
"ts-node": "^8.5.4",
"typescript": "^3.7.3",
"tslib": "^2.3.1",
"uppercamelcase": "^3.0.0"
},
"engines": {
"node": ">= 10.16.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}