-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
153 lines (153 loc) · 6.09 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "sparta-ui",
"version": "3.24.0",
"description": "网易支付PC组件库",
"homepage": "https://github.com/CodeLittlePrince/sparta-ui",
"repository": "https://github.com/CodeLittlePrince/sparta-ui.git",
"main": "lib/globalpay/index.js",
"files": [
"lib"
],
"scripts": {
"mock": "nodemon -q ./server/index.js --kill-others",
"watch": "npm run watch:globalpay",
"watch:globalpay": "cross-env THEME=globalpay node webpack/site/dev.js",
"watch:epay": "cross-env THEME=epay node webpack/site/dev.js",
"watch:abroad": "cross-env THEME=abroad node webpack/site/dev.js",
"watch:browser": "cross-env THEME=browser node webpack/site/dev.js",
"watch:liuxue": "cross-env THEME=liuxue node webpack/site/dev.js",
"dev": "npm run dev:globalpay",
"dev:globalpay": "concurrently \"npm run mock\" \"npm run watch:globalpay\"",
"dev:epay": "concurrently \"npm run mock\" \"npm run watch:epay\"",
"dev:abroad": "concurrently \"npm run mock\" \"npm run watch:abroad\"",
"dev:browser": "concurrently \"npm run mock\" \"npm run watch:browser\"",
"dev:liuxue": "concurrently \"npm run mock\" \"npm run watch:liuxue\"",
"test:unit": "npm run test:unit:chrome",
"test:unit:chrome": "cross-env THEME=globalpay BABEL_ENV=test BROWSER=Chrome karma start test/unit/karma.conf.js",
"test:unit:safari": "cross-env THEME=globalpay BABEL_ENV=test BROWSER=Safari karma start test/unit/karma.conf.js",
"CI:test:unit:chrome": "cross-env THEME=globalpay BABEL_ENV=test BROWSER=Chrome SINGLE_RUN=Y karma start test/unit/karma.conf.js",
"CI:test:unit:safari": "cross-env THEME=globalpay BABEL_ENV=test BROWSER=SafariNative SINGLE_RUN=Y karma start test/unit/karma.conf.js",
"analyze": "cross-env NODE_ENV=production ANALYZE=active webpack -p --progress --colors --config webpack/site/webpack.config.prod.js",
"dist": "cross-env NODE_ENV=production webpack -p --progress --colors --config webpack/site/webpack.config.prod.js",
"lib": "node webpack/components/remove.js && npm run lib:globalpay && npm run lib:epay && npm run lib:abroad && npm run lib:browser && npm run lib:liuxue",
"lib:globalpay": "cross-env THEME=globalpay node webpack/components/build.js",
"lib:epay": "cross-env THEME=epay node webpack/components/build.js",
"lib:abroad": "cross-env THEME=abroad node webpack/components/build.js",
"lib:browser": "cross-env THEME=browser node webpack/components/build.js",
"lib:liuxue": "cross-env THEME=liuxue node webpack/components/build.js",
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "eslint ./site/ ./sparta/ --ext .vue,.js",
"lint:css": "stylelint \"./(sparta|site)/**/*.(vue|scss)\"",
"commit": "git-cz",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"release": "npm run lib && np --yolo"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"author": "codelittleprince",
"license": "MIT",
"peerDependencies": {
"vue": "^2.5.13"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/plugin-syntax-jsx": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/runtime-corejs3": "^7.15.3",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^7.6.0",
"@vue/test-utils": "^1.2.2",
"ajv": "^6.5.4",
"autoprefixer": "^7.2.6",
"axios": "^0.21.4",
"babel-eslint": "^10.0.3",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-loader": "^8.1.0",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-transform-vue-jsx": "^4.0.1",
"boom": "^7.3.0",
"case-sensitive-paths-webpack-plugin": "^1.1.4",
"chai": "^4.2.0",
"chalk": "^2.4.1",
"clean-webpack-plugin": "^0.1.19",
"concurrently": "^6.2.1",
"conventional-changelog-cli": "^2.1.1",
"copy-webpack-plugin": "^6.1.1",
"core-js": "^3.16.2",
"cross-env": "^5.2.0",
"css-loader": "^2.1.1",
"eslint": "^7.32.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-html": "^6.1.2",
"eslint-plugin-vue": "^7.16.0",
"file-loader": "^2.0.0",
"friendly-errors-webpack-plugin": "^1.7.0",
"git-cz": "^3.0.1",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.1.2",
"karma": "^6.1.1",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.0.3",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-safari-launcher": "^1.0.0",
"karma-safarinative-launcher": "^1.1.0",
"karma-sinon-chai": "^1.3.4",
"karma-sourcemap-loader": "^0.3.8",
"karma-webpack": "^5.0.0",
"koa": "^2.7.0",
"koa-body": "^4.1.0",
"koa-bodyparser": "^4.2.1",
"koa-router": "^7.4.0",
"koa-send": "^4.1.3",
"koa2-cors": "^2.0.6",
"markdown-it": "^12.2.0",
"markdown-it-container": "^3.0.0",
"mini-css-extract-plugin": "^0.4.4",
"mocha": "^5.2.0",
"mockjs": "^1.0.1-beta3",
"nodemon": "^1.18.9",
"np": "^7.5.0",
"optimize-css-assets-webpack-plugin": "^6.0.1",
"ora": "^3.4.0",
"portfinder": "^1.0.28",
"postcss": "^8.3.6",
"postcss-html": "^1.3.0",
"postcss-loader": "^3.0.0",
"postcss-scss": "^4.0.3",
"sass": "^1.44.0",
"sass-loader": "^10.2.1",
"sass-resources-loader": "^2.2.4",
"sinon": "^13.0.1",
"sinon-chai": "^3.7.0",
"speed-measure-webpack-plugin": "^1.5.0",
"style-loader": "^1.3.0",
"stylelint": "^14.6.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-config-standard-scss": "^3.0.0",
"url-loader": "^0.6.2",
"vue": "^2.5.13",
"vue-eslint-parser": "^7.10.0",
"vue-loader": "^15.9.8",
"vue-markdown-loader": "^2.5.0",
"vue-router": "^3.0.1",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.10",
"webpack": "^4.23.1",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.11.2",
"webpackbar": "^3.2.0"
},
"dependencies": {
"async-validator": "^3.5.2",
"lodash.clonedeep": "^4.5.0",
"lodash.debounce": "^4.0.8",
"resize-observer-polyfill": "^1.5.0"
}
}