This commit is contained in:
Bill D 2021-03-16 11:58:53 +04:00
parent 7746702d81
commit 68ffd49c4a
3 changed files with 6 additions and 6 deletions

4
.npmrc
View File

@ -1,2 +1,2 @@
@lingdocs:registry=https://reg.lingdocs.com @lingdocs:registry=https://npm.lingdocs.com
//reg.lingdocs.com/:_authToken=${LINGDOCS_NPM_TOKEN} //npm.lingdocs.com/:_authToken=${LINGDOCS_NPM_TOKEN}

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/pashto-inflector", "name": "@lingdocs/pashto-inflector",
"version": "0.2.5", "version": "0.2.6",
"author": "lingdocs.com", "author": "lingdocs.com",
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
"homepage": "https://verbs.lingdocs.com", "homepage": "https://verbs.lingdocs.com",
@ -20,7 +20,7 @@
"url": "https://github.com/lingdocs/pashto-inflector.git" "url": "https://github.com/lingdocs/pashto-inflector.git"
}, },
"publishConfig": { "publishConfig": {
"registry": "https://reg.lingdocs.com" "registry": "https://npm.lingdocs.com"
}, },
"dependencies": { "dependencies": {
"classnames": "^2.2.6", "classnames": "^2.2.6",
@ -61,7 +61,7 @@
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject", "eject": "react-scripts eject",
"build-website": "node get-verbs.js && npm run build", "build-website": "node get-verbs.js && npm run build",
"build-library": "node get-verbs.js && rimraf dist && rimraf dist-cjs && tsc --project library-tsconfig.json && cp src/components/verb-info/*.svg dist/components/verb-info && rollup -c", "build-library": "node get-verbs.js && rimraf dist && rimraf dist-cjs && tsc --project library-tsconfig.json && mkdir dist/node_modules && cp -r node_modules/classnames dist/node_modules && cp -r node_modules/pbf dist/node_modules && cp src/components/verb-info/*.svg dist/components/verb-info && rollup -c",
"test-ci": "npm run test -- --watchAll=false" "test-ci": "npm run test -- --watchAll=false"
}, },
"eslintConfig": { "eslintConfig": {

View File

@ -26,7 +26,7 @@ export default {
// peerDepsExternal(), // peerDepsExternal(),
commonjs(), commonjs(),
nodeResolve({ nodeResolve({
resolveOnly: ['classnames'], resolveOnly: Object.keys(pkg.dependencies),
}), }),
// use base64 image inlining for the cjs version so that the .svg s can get cosumed by node 12 etc. // use base64 image inlining for the cjs version so that the .svg s can get cosumed by node 12 etc.
image(), image(),