Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
Upgrade create-universal-package@^3.2.x (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGrandon authored Jan 17, 2018
1 parent d2071a6 commit 44c9c6c
Show file tree
Hide file tree
Showing 8 changed files with 181 additions and 156 deletions.
18 changes: 8 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,26 @@
"license": "MIT",
"repository": "fusionjs/fusion-core",
"files": [
"dist"
"dist",
"src"
],
"main": "./dist/node.cjs.js",
"module": "./dist/node.es.js",
"main": "./dist/index.js",
"module": "./dist/index.es.js",
"browser": {
"./dist/node.cjs.js": "./dist/browser.es5.cjs.js",
"./dist/node.es.js": "./dist/browser.es5.es.js"
"./dist/index.js": "./dist/browser.es5.js",
"./dist/index.es.js": "./dist/browser.es5.es.js"
},
"es2015": {
"./dist/browser.es5.cjs.js": "./dist/browser.es2015.cjs.js",
"./dist/browser.es5.es.js": "./dist/browser.es2015.es.js"
},
"es2017": {
"./dist/browser.es5.cjs.js": "./dist/browser.es2017.cjs.js",
"./dist/browser.es5.es.js": "./dist/browser.es2017.es.js",
"./dist/browser.es2015.cjs.js": "./dist/browser.es2017.cjs.js",
"./dist/browser.es2015.es.js": "./dist/browser.es2017.es.js"
},
"devDependencies": {
"babel-eslint": "^8.0.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"create-universal-package": "^2.1.1",
"create-universal-package": "^3.2.4",
"eslint": "^4.2.0",
"eslint-config-fusion": "^0.1.2",
"eslint-plugin-cup": "^1.0.0-rc.4",
Expand Down Expand Up @@ -59,4 +57,4 @@
"engines": {
"node": ">= 8.9.0"
}
}
}
4 changes: 2 additions & 2 deletions src/__tests__/__node__/app.js → src/__tests__/app.node.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from 'tape-cup';
import App from '../../index';
import {compose} from '../../plugin/index.js';
import App from '../index';
import {compose} from '../plugin/index.js';

test('interface', t => {
const element = () => 'hi';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'tape-cup';
import AppFactory from '../../client';
import AppFactory from '../client';

const App = AppFactory();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from 'tape-cup';
import App, {html} from '../../index';
import {compose} from '../../plugin/index.js';
import App, {html} from '../index';
import {compose} from '../plugin/index.js';

test('ssr with accept header', async t => {
const flags = {render: false, next: false};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'tape-cup';
import {html, unescape} from '../../sanitization';
import {html, unescape} from '../sanitization';

test('sanitization api is not bundled', t => {
t.equals(html, void 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
dangerouslySetHTML,
escape,
unescape,
} from '../../sanitization';
} from '../sanitization';

test('escaping works', async t => {
t.equals(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import tape from 'tape-cup';
import Timing from '../../timing';
import Timing from '../timing';

tape('timing plugin', t => {
const ctx = {};
Expand Down
303 changes: 165 additions & 138 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 44c9c6c

Please sign in to comment.