move graphql, css2js to web workers (#50)

* move babel to worker

* move graphql, css2js to web workers

* add transform folder to gitignore
This commit is contained in:
Ritesh Kumar authored and GitHub committed 2017-09-13 02:02:16 +05:30
1 parent ba305352f5
commit db1258259a
14 files changed
+165 -94

No files matched your search

+5 -2
View File
@@ -5,12 +5,12 @@
"main": "index.js",
"scripts": {
"start": "next start",
"build": "rm -rf out && next build && next export && cp ./.next/service-worker.js ./out/service-worker.js",
"build": "rm -rf out && next build && next export -o transform && cp ./.next/service-worker.js ./out/service-worker.js",
"dev": "next dev",
"addContributor": "all-contributors add",
"analyze": "cross-env ANALYZE=1 next build",
"format": "prettier --write **/*.js",
"deploy": "yarn build && cd out && now",
"deploy": "yarn build && cd transform && now",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
@@ -41,6 +41,7 @@
"is-svg": "^2.1.0",
"json-schema-to-typescript": "^4.6.0",
"lodash": "^4.17.4",
"min-document": "^2.19.0",
"next": "^3.2.1",
"nprogress": "^0.2.0",
"promise-worker": "^1.1.1",
@@ -56,6 +57,7 @@
"transform-graphql-type-annotations": "^0.1.1",
"transform-json-types": "^0.2.6",
"transform-svg-to-native": "^0.1.3",
"undom": "^0.3.3",
"unfetch": "^3.0.0",
"xml-js": "^1.4.1"
},
@@ -63,6 +65,7 @@
"all-contributors-cli": "^4.4.0",
"babili-webpack-plugin": "^0.1.2",
"css-loader": "^0.28.7",
"deep-diff": "^0.3.8",
"glob": "^7.1.2",
"prettier": "^1.6.1",
"style-loader": "^0.18.2",