bump 1.0.0-alpha.0

This commit is contained in:
Amour1688 2020-05-24 10:29:41 +08:00
parent 547d817a73
commit 33052a05d1
3 changed files with 26 additions and 6 deletions

4
.npmignore Normal file
View File

@ -0,0 +1,4 @@
example
index.html
webpack.config.js
test

View File

@ -2,6 +2,22 @@
To add Vue JSX support. To add Vue JSX support.
## Installation
Install the preset with:
```
npm install @ant-design-vue/babel-preset-jsx
```
Then add the preset to .babelrc:
```
{
"presets": ["@ant-design-vue/babel-preset-jsx"]
}
```
## Syntax ## Syntax
### Content ### Content

View File

@ -1,8 +1,8 @@
{ {
"name": "jsx", "name": "@ant-design-vue/babel-preset-jsx",
"version": "1.0.0", "version": "1.0.0-alpha.0",
"description": "jsx for vue 3", "description": "Babel preset for Vue 3.0 JSX",
"main": "index.js", "main": "src/index.js",
"scripts": { "scripts": {
"dev": "webpack-dev-server", "dev": "webpack-dev-server",
"lint": "eslint --ext .js src", "lint": "eslint --ext .js src",
@ -33,7 +33,7 @@
"devDependencies": { "devDependencies": {
"@babel/core": "^7.9.6", "@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6", "@babel/preset-env": "^7.9.6",
"@vue/test-utils": "^2.0.0-alpha.4", "@vue/test-utils": "^2.0.0-alpha.6",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"babel-jest": "^26.0.1", "babel-jest": "^26.0.1",
"babel-loader": "^8.1.0", "babel-loader": "^8.1.0",
@ -42,7 +42,7 @@
"eslint-plugin-import": "^2.20.2", "eslint-plugin-import": "^2.20.2",
"jest": "^26.0.1", "jest": "^26.0.1",
"regenerator-runtime": "^0.13.5", "regenerator-runtime": "^0.13.5",
"vue": "^3.0.0-beta.10", "vue": "^3.0.0-beta.14",
"webpack": "^4.43.0", "webpack": "^4.43.0",
"webpack-cli": "^3.3.11", "webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3" "webpack-dev-server": "^3.10.3"