mirror of
https://github.com/ritz078/transform.git
synced 2026-11-22 00:54:01 +03:00
updates
This commit is contained in:
1 parent
d705854328
commit
eab8a02d18
5 files changed
+1766
-1904
No files matched your search
+2
-18
@@ -27,24 +27,6 @@ module.exports = {
|
||||
"babel-core": "babel-standalone"
|
||||
};
|
||||
|
||||
// if (!dev) {
|
||||
// config.plugins.push(
|
||||
// new SWPrecacheWebpackPlugin({
|
||||
// minify: true,
|
||||
// staticFileGlobsIgnorePatterns: [/\.next\//],
|
||||
// staticFileGlobs: [
|
||||
// "static/**/*" // Precache all static files by default
|
||||
// ],
|
||||
// runtimeCaching: [
|
||||
// {
|
||||
// handler: "networkFirst",
|
||||
// urlPattern: /^https?.*/
|
||||
// }
|
||||
// ]
|
||||
// })
|
||||
// );
|
||||
// }
|
||||
|
||||
if (ANALYZE) {
|
||||
config.plugins.push(
|
||||
new BundleAnalyzerPlugin({
|
||||
@@ -55,6 +37,8 @@ module.exports = {
|
||||
);
|
||||
}
|
||||
|
||||
config.output.globalObject = `this`;
|
||||
|
||||
return config;
|
||||
},
|
||||
|
||||
|
||||
+25
-26
@@ -38,11 +38,11 @@
|
||||
"dependencies": {
|
||||
"@tsuyoshiwada/htmltojsx": "^0.0.5",
|
||||
"babel-plugin-json-to-proptypes": "^0.1.0",
|
||||
"babel-plugin-object-styles-to-template": "^0.1.2",
|
||||
"babel-plugin-object-styles-to-template": "^0.2.2",
|
||||
"babel-standalone": "^6.26.0",
|
||||
"classnames": "^2.2.6",
|
||||
"codemirror": "^5.39.2",
|
||||
"codemirror-graphql": "^0.6.11",
|
||||
"codemirror": "^5.41.0",
|
||||
"codemirror-graphql": "^0.8.3",
|
||||
"copy-text-to-clipboard": "^1.0.4",
|
||||
"css-in-js-generator": "^0.3.0-alpha.2",
|
||||
"generate-schema": "^2.5.1",
|
||||
@@ -55,45 +55,44 @@
|
||||
"json-ts": "^1.6.4",
|
||||
"json2yaml": "^1.1.0",
|
||||
"jsx-to-json": "^0.2.3",
|
||||
"lodash": "^4.17.10",
|
||||
"lodash": "^4.17.11",
|
||||
"markdown": "^0.5.0",
|
||||
"next": "6.1.1",
|
||||
"next": "7.0.2",
|
||||
"nprogress": "^0.2.0",
|
||||
"promise-worker": "^1.1.1",
|
||||
"promise-worker": "^2.0.0",
|
||||
"prop-types": "^15.6.2",
|
||||
"rc-collapse": "^1.9.3",
|
||||
"react": "16.4.1",
|
||||
"rc-collapse": "^1.10.0",
|
||||
"react": "16.6.0",
|
||||
"react-codemirror2": "5.1.0",
|
||||
"react-content-loader": "^3.1.2",
|
||||
"react-dom": "16.4.1",
|
||||
"react-content-loader": "^3.2.0",
|
||||
"react-dom": "16.6.0",
|
||||
"react-fuzzy-picker": "0.7.0",
|
||||
"react-github-corner": "^2.3.0",
|
||||
"stringify-object": "^3.2.1",
|
||||
"stringify-object": "^3.3.0",
|
||||
"transform-css-to-js": "^0.1.1",
|
||||
"transform-graphql-type-annotations": "^0.1.1",
|
||||
"transform-json-types": "^0.5.2",
|
||||
"transform-svg-to-native": "^0.1.3",
|
||||
"unfetch": "^3.1.0",
|
||||
"xml-js": "^1.6.7",
|
||||
"yaml": "^1.0.0-rc.7"
|
||||
"unfetch": "^4.0.1",
|
||||
"xml-js": "^1.6.8",
|
||||
"yaml": "^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/plugin-proposal-decorators": "^7.0.0-beta.55",
|
||||
"all-contributors-cli": "^5.3.0",
|
||||
"@babel/plugin-proposal-decorators": "^7.1.2",
|
||||
"all-contributors-cli": "^5.4.1",
|
||||
"babel-plugin-lodash": "^3.3.4",
|
||||
"babel-plugin-transform-flow-strip-types": "^6.22.0",
|
||||
"babel-plugin-transform-react-remove-prop-types": "^0.4.10",
|
||||
"babel-plugin-transform-react-remove-prop-types": "^0.4.19",
|
||||
"cross-env": "^5.2.0",
|
||||
"css-loader": "^0.28.7",
|
||||
"glob": "^7.1.2",
|
||||
"husky": "^0.14.3",
|
||||
"lint-staged": "^7.2.0",
|
||||
"css-loader": "^1.0.1",
|
||||
"glob": "^7.1.3",
|
||||
"husky": "^1.1.2",
|
||||
"lint-staged": "^8.0.4",
|
||||
"lodash-webpack-plugin": "^0.11.5",
|
||||
"prettier": "^1.14.0",
|
||||
"style-loader": "^0.21.0",
|
||||
"prettier": "^1.14.3",
|
||||
"style-loader": "^0.23.1",
|
||||
"sw-precache-webpack-plugin": "^0.11.4",
|
||||
"webpack-bundle-analyzer": "^2.13.1",
|
||||
"worker-loader": "^1.0.0",
|
||||
"workerize-loader": "^1.0.3"
|
||||
"webpack-bundle-analyzer": "^3.0.3",
|
||||
"worker-loader": "^2.0.0"
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
import React, { Fragment, PureComponent } from "react";
|
||||
import Layout from "../components/Layout";
|
||||
import ConversionPanel from "../components/ConversionPanel";
|
||||
import defaultText from "../utils/dummy-json";
|
||||
import { json2ts } from "json-ts";
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import React, { Fragment, PureComponent } from "react";
|
||||
import Layout from "../components/Layout";
|
||||
import ConversionPanel from "../components/ConversionPanel";
|
||||
import PoweredBy from "../components/PoweredBy";
|
||||
import worker from "workerize-loader?inline!../workers/jsx-to-js-object";
|
||||
import worker from "../workers/jsx-to-js-object";
|
||||
|
||||
const defaultText = `<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.1">
|
||||
<rect width="200" height="100" stroke="black" stroke-width="6" fill="green"/>
|
||||
|
||||
Reference in new issue
Block a user