1
1
{
2
2
"name" : " yuwan" ,
3
- "version" : " 1.0.2 " ,
3
+ "version" : " 1.0.5 " ,
4
4
"description" : " components based on typescript & react" ,
5
- "main" : " ./dist/yuwan .js" ,
5
+ "main" : " ./lib/index .js" ,
6
6
"author" : " yuwan" ,
7
+ "keywords" : [
8
+ " ant" ,
9
+ " components" ,
10
+ " react" ,
11
+ " react-component" ,
12
+ " ui" ,
13
+ " typescript"
14
+ ],
15
+ "repository" : {
16
+ "type" : " git" ,
17
+ "url" : " https://github.com/nankaNULL/react-typescript-components"
18
+ },
7
19
"files" : [
8
- " dist"
20
+ " dist" ,
21
+ " lib"
9
22
],
10
23
"scripts" : {
11
- "build" : " rimraf dist && webpack --bail --progress --profile --config ./build/prod.js" ,
24
+ "build" : " rimraf dist && cross-env NODE_ENV=production webpack --bail --progress --profile --config ./build/prod.js" ,
25
+ "compile" : " rimraf lib && npx babel src/components --out-dir lib --extensions '.tsx' --copy-files" ,
26
+ "compile-css" : " node-sass src/components --output lib" ,
12
27
"dev" : " webpack-dev-server --progress --colors --config ./build/dev.js" ,
13
28
"test-watch" : " karma start --auto-watch --no-single-run" ,
14
29
"start" : " npm run dev" ,
15
- "preview" : " pushstate-server ./dist 1234"
30
+ "preview" : " pushstate-server ./dist 1234" ,
31
+ "publish" : " npm publish"
16
32
},
17
33
"dependencies" : {
34
+ "@babel/runtime-corejs2" : " ^7.7.2" ,
18
35
"@types/prop-types" : " ^15.7.3" ,
19
36
"@types/shallowequal" : " ^1.1.1" ,
20
37
"antd" : " ^3.25.2" ,
31
48
"shallowequal" : " ^1.1.0"
32
49
},
33
50
"devDependencies" : {
34
- "@babel/core" : " ^7.7.2" ,
35
- "@babel/plugin-proposal-class-properties" : " ^7.7.0" ,
36
- "@babel/plugin-proposal-decorators" : " ^7.7.0" ,
37
- "@babel/plugin-transform-runtime" : " ^7.6.2" ,
51
+ "@babel/cli" : " ^7.7.4" ,
52
+ "@babel/core" : " ^7.7.4" ,
53
+ "@babel/plugin-proposal-class-properties" : " ^7.7.4" ,
54
+ "@babel/plugin-proposal-decorators" : " ^7.7.4" ,
55
+ "@babel/plugin-transform-runtime" : " ^7.7.4" ,
38
56
"@babel/polyfill" : " ^7.7.0" ,
39
- "@babel/preset-env" : " ^7.7.1 " ,
40
- "@babel/preset-react" : " ^7.7.0 " ,
41
- "@babel/runtime " : " ^7.7.2 " ,
42
- "@babel/runtime-corejs2 " : " ^7.7.2 " ,
57
+ "@babel/preset-env" : " ^7.7.4 " ,
58
+ "@babel/preset-react" : " ^7.7.4 " ,
59
+ "@babel/preset-typescript " : " ^7.7.4 " ,
60
+ "@babel/runtime" : " ^7.7.4 " ,
43
61
"@types/classnames" : " ^2.2.9" ,
44
62
"@types/lodash" : " ^4.14.148" ,
45
63
"@types/react-dom" : " ^16.9.4" ,
46
64
"@types/react-redux" : " ^7.1.5" ,
47
65
"@types/react-router-dom" : " ^5.1.2" ,
48
66
"@types/react-router-redux" : " ^5.0.18" ,
49
67
"babel-loader" : " ^8.0.6" ,
50
- "babel-plugin-import" : " ^1.12.2 " ,
68
+ "babel-plugin-import" : " ^1.13.0 " ,
51
69
"copy-webpack-plugin" : " ^5.0.5" ,
70
+ "cross-env" : " ^6.0.3" ,
52
71
"css-loader" : " ^3.2.0" ,
53
72
"file-loader" : " ^4.2.0" ,
54
73
"html-webpack-plugin" : " ^3.2.0" ,
71
90
"uglifyjs-webpack-plugin" : " ^2.2.0" ,
72
91
"webpack" : " ^4.41.2" ,
73
92
"webpack-cli" : " ^3.3.10" ,
74
- "webpack-dev-server" : " ^3.9.0"
93
+ "webpack-dev-server" : " ^3.9.0" ,
94
+ "yuwan" : " ^1.0.5"
75
95
}
76
- }
96
+ }
0 commit comments