-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
50 lines (50 loc) · 1.95 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
{
"name": "rainy-window",
"version": "0.0.6",
"main": "dist/umd/index.js",
"module": "dist/esm/index.js",
"typings": "dist/esm/index.d.ts",
"license": "MIT",
"author": "https://github.com/zhangshichun",
"scripts": {
"说明0": "--------------------调试简单demo:是这条脚本↓-------------------------------------",
"dev:umd": "cross-env NODE_ENV=development rollup -w -c rollup.umd.config.js",
"说明1": "--------------------调试在vue3项目中的demo:是这条脚本↓----------------------------",
"dev:esm": "run-p watch:esm serve:vue3",
"说明2": "--------------------打包构建:是这条脚本↓-----------------------------------------",
"build": "run-p \"build:*\"",
"build-a": "npm-run-all -p build:esm build:umd -s serve:vue3",
"predev:esm": "npm run build:esm",
"serve:vue3": "cd ./examples/vue3 && yarn && yarn serve",
"watch:esm": "cross-env NODE_ENV=development rollup -w -c rollup.esm.config.js",
"build:umd": "cross-env NODE_ENV=production rollup -c rollup.umd.config.js",
"build:esm": "cross-env NODE_ENV=production rollup -c rollup.esm.config.js",
"postbuild": "tsc --emitDeclarationOnly --declaration --project ts.config.json --outDir dist/esm"
},
"files": [
"dist"
],
"devDependencies": {
"@babel/core": "^7.17.5",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-beep": "^0.2.0",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"cross-env": "^7.0.3",
"npm-run-all": "^4.1.5",
"rollup": "^2.68.0",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-serve": "^1.1.0",
"tslib": "^2.3.1",
"typescript": "^4.6.2",
"esbuild": "^0.14.43",
"rollup-plugin-esbuild": "^4.9.1"
},
"dependencies": {
"gsap": "^3.0.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}