Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

twreporter-react-footer-components

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twreporter-react-footer-components - npm Package Compare versions

Comparing version 1.0.0-beta.6 to 1.0.0-beta.7

yarn.lock

103

lib/shared/configs.js

@@ -6,42 +6,28 @@ 'use strict';

});
var categories = exports.categories = [{
text: '人權・異議'
var categoryConfigs = exports.categoryConfigs = [{
text: '人權.社會',
name: 'humanRightsAndSociety',
path: 'human_rights_and_society'
}, {
text: '土地・環境'
text: '環境.教育',
name: 'environmentAndEducation',
path: 'environment_and_education'
}, {
text: '轉型・正義'
text: '政治.經濟',
name: 'politicsAndEconomy',
path: 'politics_and_economy'
}, {
text: '文化・電影'
text: '文化.藝術',
name: 'cultureAndArt',
path: 'culture_and_art'
}, {
text: '影像・聲音'
text: '生活.醫療',
name: 'livingAndMedicalCare',
path: 'living_and_medical_care'
}, {
text: '國際・兩岸'
}, {
text: '人物・身影'
}, {
text: '政經・社會'
text: '國際.兩岸',
name: 'international',
path: 'international'
}];
var channels = exports.channels = [{
text: '觀點',
type: 'hyperlink',
slug: 'review'
}, {
text: '專題',
type: 'hyperlink',
slug: 'topic'
}, {
text: '攝影',
type: 'hyperlink',
slug: 'photography'
}, {
text: '多媒體',
type: 'hyperlink',
slug: 'multimedia'
}, {
text: '分類',
type: 'submenu',
slug: 'categories'
}];
var breakpoints = exports.breakpoints = {

@@ -68,2 +54,42 @@ medium: {

var linkPrefix = exports.linkPrefix = {
article: '/a/',
interactiveArticle: '/i/',
categories: '/categories/',
tag: '/tag/',
topic: '/topic/',
topics: '/topics/',
author: '/author/',
authors: '/authors'
};
var channelConfigs = exports.channelConfigs = {
review: {
text: '觀點',
type: 'link',
prefix: linkPrefix.categories,
path: 'reviews'
},
photography: {
text: '攝影',
type: 'link',
prefix: '/',
path: 'photography'
},
infographic: {
text: '多媒體',
type: 'link',
prefix: linkPrefix.categories,
path: 'infographic'
},
categories: {
text: '分類',
type: 'submenu',
prefix: linkPrefix.categories
}
};
var channels = exports.channels = ['review', 'photography', 'infographic', 'categories'];
var externalLinks = exports.externalLinks = {

@@ -78,13 +104,2 @@ monthlyDonation: 'https://twreporter.backme.tw/cashflow/checkout?project_id=175&reward_id=1305',

ccLicense: 'https://creativecommons.org/licenses/by-nc-nd/3.0/tw/'
};
var linkPrefix = exports.linkPrefix = {
article: '/a/',
interactiveArticle: '/i/',
category: '/category/',
tag: '/tag/',
topic: '/topic/',
topics: '/topics/',
author: '/author/',
authors: '/authors'
};
{
"name": "twreporter-react-footer-components",
"version": "1.0.0-beta.6",
"version": "1.0.0-beta.7",
"scripts": {
"build": "gulp build-package --color",
"dev": "gulp dev",
"publish": "yarn publish",
"clean": "gulp clean-build"

@@ -25,5 +24,8 @@ },

},
"peerDependencies": {
"react": "^15.4.1"
},
"dependencies": {
"lodash": "^4.17.4",
"prop-types": "^15.5.10",
"react": "^15.6.1",
"react-router": "^2.5.1",

@@ -30,0 +32,0 @@ "styled-components": "^2.1.1"

@@ -8,3 +8,3 @@ # twreporter-react-footer-components

```
yarn add lodash react styled-components prop-types
yarn add react lodash prop-types react-router styled-components
```

@@ -15,3 +15,3 @@

```
yarn add twreporter-react-footer-components --save
yarn add twreporter-react-footer-components
```

@@ -28,4 +28,4 @@

<div>
{props.children}
<Footer />
{props.children}
</div>

@@ -66,8 +66,3 @@ )

cd twreporter-react-components/footer-components
yarn publish
```
```
cd twreporter-react-components/footer-components
npm run publish
npm publish
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc