-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
71 lines (71 loc) · 2.48 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
{
"name": "micro-mod",
"version": "1.3.1",
"description": "A module loader support umd and own md",
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/ZxBing0066/micro-mod.git"
},
"files": [
"lib",
"lib-polyfill",
"dist"
],
"keywords": [
"micro",
"module",
"loader",
"css",
"style"
],
"bugs": {
"url": "https://github.com/ZxBing0066/micro-mod/issues"
},
"homepage": "https://github.com/ZxBing0066/micro-mod#readme",
"author": "ZxBing0066",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.10.2",
"core-js": "^3.6.5"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.10.2",
"@babel/generator": "^7.10.2",
"@babel/parser": "^7.10.2",
"@babel/plugin-proposal-class-properties": "^7.10.1",
"@babel/plugin-proposal-optional-chaining": "^7.10.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.10.1",
"@babel/preset-env": "^7.10.2",
"@babel/preset-typescript": "^7.10.1",
"@babel/traverse": "^7.10.1",
"babel-loader": "^8.1.0",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^4.3.0",
"typescript": "^3.9.5",
"url-loader": "^4.1.0",
"webpack": "^4.43.0",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.11.0"
},
"scripts": {
"start": "webpack-dev-server --mode=development",
"start:docs": "npx docsify-cli serve docs",
"build": "webpack",
"build:polyfill": "POLYFILL=true webpack",
"build:analyzer": "ANALYZER=true webpack",
"build:lib": "babel src/ -d lib/ -x \".js\",\".ts\" --config-file \"./babel.config.js\" --source-maps",
"build:lib-polyfill": "babel src/ -d lib-polyfill/ -x \".js\",\".ts\" --config-file \"./.babelrc.polyfill.js\" --source-maps",
"build:types": "tsc && tsc --outDir ./lib-polyfill",
"before-publish": "rm -rf dist && npm run build && npm run build:polyfill && rm -rf lib && rm -rf lib-polyfill && npm run build:lib && npm run build:lib-polyfill && npm run build:types",
"ci": "npm run before-publish",
"publish:patch": "npm version patch && git push --follow-tags",
"publish:minor": "npm version minor && git push --follow-tags",
"publish:major": "npm version major && git push --follow-tags",
"test": "npm run build && rm -rf ./tests/temp && cp -R dist ./tests/temp/ && npx serve ./tests",
"test:ci": "npm run build && npm run build:lib"
}
}