css packaging
This commit is contained in:
parent
4ddea6594f
commit
21a7a76ed2
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "pashto-inflector",
|
||||
"version": "5.10.0",
|
||||
"version": "5.10.1",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "pashto-inflector",
|
||||
"version": "5.10.0",
|
||||
"version": "5.10.1",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "pashto-inflector",
|
||||
"version": "5.10.0",
|
||||
"version": "5.10.1",
|
||||
"author": "lingdocs.com",
|
||||
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
|
||||
"homepage": "https://verbs.lingdocs.com",
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@lingdocs/ps-react",
|
||||
"version": "5.10.0",
|
||||
"version": "5.10.1",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lingdocs/ps-react",
|
||||
"version": "5.10.0",
|
||||
"version": "5.10.1",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@formkit/auto-animate": "^1.0.0-beta.3",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lingdocs/ps-react",
|
||||
"version": "5.10.0",
|
||||
"version": "5.10.1",
|
||||
"description": "Pashto inflector library module with React components",
|
||||
"main": "dist/components/library.js",
|
||||
"module": "dist/components/library.js",
|
||||
|
|
|
@ -3,20 +3,26 @@ const fs = require("fs-extra");
|
|||
const path = require("path");
|
||||
|
||||
glob("src/verb-info/*.svg", (err, files) => {
|
||||
if (err) throw err;
|
||||
files.forEach((file) => {
|
||||
fs.copySync(file, `dist/components/src/verb-info/${path.basename(file)}`);
|
||||
});
|
||||
if (err) throw err;
|
||||
files.forEach((file) => {
|
||||
fs.copySync(file, `dist/components/src/verb-info/${path.basename(file)}`);
|
||||
});
|
||||
});
|
||||
glob("src/vp-explorer/*.svg", (err, files) => {
|
||||
if (err) throw err;
|
||||
files.forEach((file) => {
|
||||
fs.copySync(file, `dist/components/src/vp-explorer/${path.basename(file)}`);
|
||||
});
|
||||
if (err) throw err;
|
||||
files.forEach((file) => {
|
||||
fs.copySync(file, `dist/components/src/vp-explorer/${path.basename(file)}`);
|
||||
});
|
||||
});
|
||||
glob("src/vp-explorer/*.jpg", (err, files) => {
|
||||
if (err) throw err;
|
||||
files.forEach((file) => {
|
||||
fs.copySync(file, `dist/components/src/vp-explorer/${path.basename(file)}`);
|
||||
});
|
||||
if (err) throw err;
|
||||
files.forEach((file) => {
|
||||
fs.copySync(file, `dist/components/src/vp-explorer/${path.basename(file)}`);
|
||||
});
|
||||
});
|
||||
glob("src/vp-explorer/*.css", (err, files) => {
|
||||
if (err) throw err;
|
||||
files.forEach((file) => {
|
||||
fs.copySync(file, `dist/components/src/vp-explorer/${path.basename(file)}`);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lingdocs/inflect",
|
||||
"version": "5.10.0",
|
||||
"version": "5.10.1",
|
||||
"description": "Pashto inflector library",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/lib/library.d.ts",
|
||||
|
|
Loading…
Reference in New Issue