Ned Zimmerman
7 years ago
7 changed files with 107 additions and 72 deletions
@ -0,0 +1,9 @@ |
|||||||
|
[main] |
||||||
|
host = https://www.transifex.com |
||||||
|
|
||||||
|
[pressbooks-aldine.pressbooks-aldine] |
||||||
|
source_file = languages/pressbooks-aldine.pot |
||||||
|
source_lang = en |
||||||
|
type = PO |
||||||
|
file_filter = languages/<lang>.po |
||||||
|
lang_map = de:de_DE, es:es_ES, fr:fr_FR, gl:gl_ES, nb:nb_NO, it:it_IT, ka:ka_GE, ru:ru_RU, ta:ta_LK |
@ -0,0 +1,6 @@ |
|||||||
|
#!/bin/bash |
||||||
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" |
||||||
|
PARENT="$(dirname $DIR)" |
||||||
|
tx push -s |
||||||
|
tx pull -a |
||||||
|
for file in $PARENT/languages/*.po ; do msgfmt $file -o `echo $file | sed 's/\(.*\.\)po/\1mo/'` ; done |
@ -1,66 +1,65 @@ |
|||||||
{ |
{ |
||||||
"name": "@pressbooks/pressbooks-aldine", |
"name": "@pressbooks/pressbooks-aldine", |
||||||
"version": "1.0.0", |
"version": "1.0.0", |
||||||
"author": "Pressbooks (Book Oven Inc.) <code@pressbooks.com>", |
"author": "Pressbooks (Book Oven Inc.) <code@pressbooks.com>", |
||||||
"homepage": "https://github.com/pressbooks/pressbooks-aldine/", |
"homepage": "https://github.com/pressbooks/pressbooks-aldine/", |
||||||
"description": "Aldine is the default theme for the home page of Pressbooks networks. It is named for the Aldine Press, founded by Aldus Manutius in 1494, who is regarded by many as the world’s first publisher.", |
"description": |
||||||
"keywords": [ |
"Aldine is the default theme for the home page of Pressbooks networks. It is named for the Aldine Press, founded by Aldus Manutius in 1494, who is regarded by many as the world’s first publisher.", |
||||||
"publishing", |
"keywords": ["publishing", "catalog", "pressbooks", "default-theme"], |
||||||
"catalog", |
"private": true, |
||||||
"pressbooks", |
"repository": { |
||||||
"default-theme" |
"type": "git", |
||||||
], |
"url": "git://github.com/pressbooks/pressbooks-aldine.git" |
||||||
"private": true, |
}, |
||||||
"repository": { |
"bugs": { |
||||||
"type": "git", |
"url": "https://github.com/pressbooks/pressbooks-aldine/issues" |
||||||
"url": "git://github.com/pressbooks/pressbooks-aldine.git" |
}, |
||||||
}, |
"licenses": [ |
||||||
"bugs": { |
{ |
||||||
"url": "https://github.com/pressbooks/pressbooks-aldine/issues" |
"type": "GPL-3.0-or-later", |
||||||
}, |
"url": |
||||||
"licenses": [ |
"https://github.com/pressbooks/pressbooks-aldine/tree/master/LICENSE.md" |
||||||
{ |
} |
||||||
"type": "GPL-3.0", |
], |
||||||
"url": "https://opensource.org/licenses/GPL-3.0" |
"browserslist": ["last 2 versions", "android 4", "opera 12"], |
||||||
} |
"eslintConfig": { |
||||||
], |
"extends": "./node_modules/pressbooks-build-tools/config/eslint.js", |
||||||
"browserslist": [ |
"globals": { |
||||||
"last 2 versions", |
"$": true, |
||||||
"android 4", |
"PB_A11y": true |
||||||
"opera 12" |
} |
||||||
], |
}, |
||||||
"eslintConfig": { |
"stylelint": { |
||||||
"extends": "./node_modules/pressbooks-build-tools/config/eslint.js", |
"extends": "./node_modules/pressbooks-build-tools/config/stylelint.js" |
||||||
"globals": { |
}, |
||||||
"$": true, |
"scripts": { |
||||||
"PB_A11y": true |
"build": |
||||||
} |
"cross-env NODE_ENV=development webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", |
||||||
}, |
"build:production": |
||||||
"stylelint": { |
"cross-env NODE_ENV=production webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", |
||||||
"extends": "./node_modules/pressbooks-build-tools/config/stylelint.js" |
"build:profile": |
||||||
}, |
"cross-env NODE_ENV=production webpack --progress --profile --json --config=node_modules/laravel-mix/setup/webpack.config.js", |
||||||
"scripts": { |
"start": |
||||||
"build": "cross-env NODE_ENV=development webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", |
"cross-env NODE_ENV=development webpack --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", |
||||||
"build:production": "cross-env NODE_ENV=production webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", |
"rmdist": "rimraf dist", |
||||||
"build:profile": "cross-env NODE_ENV=production webpack --progress --profile --json --config=node_modules/laravel-mix/setup/webpack.config.js", |
"lint": "npm run -s lint:scripts && npm run -s lint:styles", |
||||||
"start": "cross-env NODE_ENV=development webpack --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", |
"lint:scripts": |
||||||
"rmdist": "rimraf dist", |
"cross-env NODE_ENV=development node_modules/eslint/bin/eslint.js \"assets/scripts/*.js\"", |
||||||
"lint": "npm run -s lint:scripts && npm run -s lint:styles", |
"lint:styles": |
||||||
"lint:scripts": "cross-env NODE_ENV=development node_modules/eslint/bin/eslint.js \"assets/scripts/*.js\"", |
"cross-env NODE_ENV=development node_modules/stylelint/bin/stylelint.js \"assets/styles/**/*.scss\" --syntax scss", |
||||||
"lint:styles": "cross-env NODE_ENV=development node_modules/stylelint/bin/stylelint.js \"assets/styles/**/*.scss\" --syntax scss", |
"test": "npm run -s lint" |
||||||
"test": "npm run -s lint" |
}, |
||||||
}, |
"engines": { |
||||||
"engines": { |
"node": ">= 6.9.4" |
||||||
"node": ">= 6.9.4" |
}, |
||||||
}, |
"devDependencies": { |
||||||
"devDependencies": { |
"pressbooks-build-tools": "^0.11.0" |
||||||
"pressbooks-build-tools": "^0.11.0" |
}, |
||||||
}, |
"dependencies": { |
||||||
"dependencies": { |
"aetna": "^1.0.0-alpha.17", |
||||||
"aetna": "^1.0.0-alpha.17", |
"isotope-layout": "^3.0.5", |
||||||
"isotope-layout": "^3.0.5", |
"jquery-bridget": "^2.0.1", |
||||||
"jquery-bridget": "^2.0.1", |
"js-cookie": "^2.2.0", |
||||||
"js-cookie": "^2.2.0", |
"wpapi": "^1.1.2" |
||||||
"wpapi": "^1.1.2" |
} |
||||||
} |
|
||||||
} |
} |
||||||
|
Loading…
Reference in new issue