Fix jspm deps, ignore .gz files
This commit is contained in:
parent
0650e6b3b8
commit
4c6ab78b53
4 changed files with 9 additions and 158 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
|||
public/jspm_packages
|
||||
node_modules
|
||||
public/**/*.gz
|
||||
.DS_Store
|
||||
.env
|
||||
.env
|
||||
|
|
25
package.json
25
package.json
|
@ -14,16 +14,6 @@
|
|||
"engines": {
|
||||
"iojs": "2.3.0"
|
||||
},
|
||||
"browserify": {
|
||||
"transform": [
|
||||
[
|
||||
"reactify",
|
||||
{
|
||||
"harmony": true
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"babel": "^5.5.8",
|
||||
"babelify": "^6.0.2",
|
||||
|
@ -67,16 +57,11 @@
|
|||
"baseURL": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"jsx": "github:floatdrop/plugin-jsx@^1.1.0",
|
||||
"react": "npm:react@0.13.3",
|
||||
"react-google-analytics": "npm:react-google-analytics@0.2.0",
|
||||
"react-router": "npm:react-router@0.13.3",
|
||||
"superagent": "npm:superagent@1.2.0"
|
||||
"react": "npm:react@^0.13.3",
|
||||
"react-google-analytics": "npm:react-google-analytics@^0.2.0",
|
||||
"react-router": "npm:react-router@^0.13.3",
|
||||
"superagent": "npm:superagent@^1.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel": "npm:babel-core@^5.1.13",
|
||||
"babel-runtime": "npm:babel-runtime@^5.1.13",
|
||||
"core-js": "npm:core-js@^0.9.4"
|
||||
}
|
||||
"devDependencies": {}
|
||||
}
|
||||
}
|
||||
|
|
137
public/config.js
137
public/config.js
|
@ -1,12 +1,7 @@
|
|||
System.config({
|
||||
"baseURL": "/",
|
||||
"defaultJSExtensions": true,
|
||||
"transpiler": "babel",
|
||||
"babelOptions": {
|
||||
"optional": [
|
||||
"runtime"
|
||||
]
|
||||
},
|
||||
"transpiler": "none",
|
||||
"paths": {
|
||||
"github:*": "jspm_packages/github/*",
|
||||
"npm:*": "jspm_packages/npm/*"
|
||||
|
@ -15,17 +10,10 @@ System.config({
|
|||
|
||||
System.config({
|
||||
"map": {
|
||||
"babel": "npm:babel-core@5.5.8",
|
||||
"babel-runtime": "npm:babel-runtime@5.5.8",
|
||||
"core-js": "npm:core-js@0.9.17",
|
||||
"jsx": "github:floatdrop/plugin-jsx@1.1.0",
|
||||
"react": "npm:react@0.13.3",
|
||||
"react-google-analytics": "npm:react-google-analytics@0.2.0",
|
||||
"react-router": "npm:react-router@0.13.3",
|
||||
"superagent": "npm:superagent@1.2.0",
|
||||
"github:floatdrop/plugin-jsx@1.1.0": {
|
||||
"react-tools": "npm:react-tools@0.13.3"
|
||||
},
|
||||
"github:jspm/nodelibs-assert@0.1.0": {
|
||||
"assert": "npm:assert@1.3.0"
|
||||
},
|
||||
|
@ -115,17 +103,10 @@ System.config({
|
|||
"npm:assert@1.3.0": {
|
||||
"util": "npm:util@0.10.3"
|
||||
},
|
||||
"npm:ast-types@0.6.16": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:async@0.9.2": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.1",
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
},
|
||||
"npm:babel-runtime@5.5.8": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
},
|
||||
"npm:browserify-aes@1.0.1": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"create-hash": "npm:create-hash@1.1.1",
|
||||
|
@ -174,40 +155,9 @@ System.config({
|
|||
"stream": "github:jspm/nodelibs-stream@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:commander@2.5.1": {
|
||||
"child_process": "github:jspm/nodelibs-child_process@0.1.0",
|
||||
"events": "github:jspm/nodelibs-events@0.1.1",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
},
|
||||
"npm:commoner@0.10.1": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"child_process": "github:jspm/nodelibs-child_process@0.1.0",
|
||||
"commander": "npm:commander@2.5.1",
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
||||
"events": "github:jspm/nodelibs-events@0.1.1",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"glob": "npm:glob@4.2.2",
|
||||
"graceful-fs": "npm:graceful-fs@3.0.8",
|
||||
"iconv-lite": "npm:iconv-lite@0.4.10",
|
||||
"install": "npm:install@0.1.8",
|
||||
"mkdirp": "npm:mkdirp@0.5.1",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0",
|
||||
"private": "npm:private@0.1.6",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1",
|
||||
"q": "npm:q@1.1.2",
|
||||
"recast": "npm:recast@0.9.18",
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
},
|
||||
"npm:constants-browserify@0.0.1": {
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
},
|
||||
"npm:core-js@0.9.17": {
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1",
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
},
|
||||
"npm:core-util-is@1.0.1": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0"
|
||||
},
|
||||
|
@ -277,10 +227,6 @@ System.config({
|
|||
"process": "github:jspm/nodelibs-process@0.1.1",
|
||||
"through": "npm:through@2.3.7"
|
||||
},
|
||||
"npm:esprima-fb@10001.1.0-dev-harmony-fb": {
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
},
|
||||
"npm:esprima-fb@13001.1001.0-dev-harmony-fb": {
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
|
@ -313,53 +259,15 @@ System.config({
|
|||
"string_decoder": "github:jspm/nodelibs-string_decoder@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:glob@4.2.2": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
||||
"events": "github:jspm/nodelibs-events@0.1.1",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"inflight": "npm:inflight@1.0.4",
|
||||
"inherits": "npm:inherits@2.0.1",
|
||||
"minimatch": "npm:minimatch@1.0.0",
|
||||
"once": "npm:once@1.3.2",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:graceful-fs@3.0.8": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
||||
"constants": "github:jspm/nodelibs-constants@0.1.0",
|
||||
"module": "github:jspm/nodelibs-module@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0",
|
||||
"vm": "github:jspm/nodelibs-vm@0.1.0"
|
||||
},
|
||||
"npm:hash.js@1.0.3": {
|
||||
"inherits": "npm:inherits@2.0.1"
|
||||
},
|
||||
"npm:https-browserify@0.0.0": {
|
||||
"http": "github:jspm/nodelibs-http@1.7.1"
|
||||
},
|
||||
"npm:iconv-lite@0.4.10": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1",
|
||||
"stream": "github:jspm/nodelibs-stream@0.1.0",
|
||||
"string_decoder": "github:jspm/nodelibs-string_decoder@0.1.0",
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
},
|
||||
"npm:inflight@1.0.4": {
|
||||
"once": "npm:once@1.3.2",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1",
|
||||
"wrappy": "npm:wrappy@1.0.1"
|
||||
},
|
||||
"npm:inherits@2.0.1": {
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:install@0.1.8": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
},
|
||||
"npm:jstransform@10.1.0": {
|
||||
"base62": "npm:base62@0.1.1",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
|
@ -388,21 +296,6 @@ System.config({
|
|||
"process": "github:jspm/nodelibs-process@0.1.1",
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
},
|
||||
"npm:minimatch@1.0.0": {
|
||||
"lru-cache": "npm:lru-cache@2.6.4",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1",
|
||||
"sigmund": "npm:sigmund@1.0.1"
|
||||
},
|
||||
"npm:mkdirp@0.5.1": {
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"minimist": "npm:minimist@0.0.8",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
},
|
||||
"npm:once@1.3.2": {
|
||||
"wrappy": "npm:wrappy@1.0.1"
|
||||
},
|
||||
"npm:os-browserify@0.1.2": {
|
||||
"os": "github:jspm/nodelibs-os@0.1.0"
|
||||
},
|
||||
|
@ -445,9 +338,6 @@ System.config({
|
|||
"npm:punycode@1.3.2": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
},
|
||||
"npm:q@1.1.2": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
},
|
||||
"npm:randombytes@2.0.1": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
||||
|
@ -462,12 +352,6 @@ System.config({
|
|||
"qs": "npm:qs@2.4.1",
|
||||
"react": "npm:react@0.13.3"
|
||||
},
|
||||
"npm:react-tools@0.13.3": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"commoner": "npm:commoner@0.10.1",
|
||||
"jstransform": "npm:jstransform@10.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
},
|
||||
"npm:react@0.13.3": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"envify": "npm:envify@3.4.0",
|
||||
|
@ -483,15 +367,6 @@ System.config({
|
|||
"stream": "github:jspm/nodelibs-stream@0.1.0",
|
||||
"string_decoder": "npm:string_decoder@0.10.31"
|
||||
},
|
||||
"npm:recast@0.9.18": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
||||
"ast-types": "npm:ast-types@0.6.16",
|
||||
"esprima-fb": "npm:esprima-fb@10001.1.0-dev-harmony-fb",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"private": "npm:private@0.1.6",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1",
|
||||
"source-map": "npm:source-map@0.1.43"
|
||||
},
|
||||
"npm:ripemd160@1.0.1": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
|
@ -502,22 +377,12 @@ System.config({
|
|||
"inherits": "npm:inherits@2.0.1",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
},
|
||||
"npm:sigmund@1.0.1": {
|
||||
"http": "github:jspm/nodelibs-http@1.7.1",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:source-map@0.1.31": {
|
||||
"amdefine": "npm:amdefine@0.1.1",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
},
|
||||
"npm:source-map@0.1.43": {
|
||||
"amdefine": "npm:amdefine@0.1.1",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
},
|
||||
"npm:stream-browserify@1.0.0": {
|
||||
"events": "github:jspm/nodelibs-events@0.1.1",
|
||||
"inherits": "npm:inherits@2.0.1",
|
||||
|
|
|
@ -33,7 +33,7 @@ let routes = (
|
|||
);
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
console.info('Time since page started rendering: ' + (Date.now() - timerStart) + 'ms');
|
||||
console.info('Time since page started rendering: ' + (Date.now() - timerStart) + 'ms'); // eslint-disable-line no-undef
|
||||
Router.run(routes, Router.HistoryLocation, function (Handler) {
|
||||
if (typeof window.recents !== 'undefined') {
|
||||
React.render(<Handler recents={window.recents} />, document);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue