quran-meta
Advanced tools
Comparing version 2.0.1 to 2.1.1
/*! | ||
* Quran Meta library 2.0.1 | ||
* Quran Meta library 2.1.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Released under the MIT license |
/*! | ||
* Quran Meta library 2.0.1 | ||
* Quran Meta library 2.1.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Released under the MIT license |
/*! | ||
* Quran Meta library 2.0.1 | ||
* Quran Meta library 2.1.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Released under the MIT license |
/*! | ||
* Quran Meta library 2.0.1 | ||
* Quran Meta library 2.1.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Released under the MIT license |
@@ -11,3 +11,3 @@ { | ||
], | ||
"version": "2.0.1", | ||
"version": "2.1.1", | ||
"license": "MIT", | ||
@@ -18,4 +18,4 @@ "browser": "dist/quran-meta.js", | ||
"main": "dist/quran-meta.common.js", | ||
"module": "lib_esnext/index.js", | ||
"typings": "lib_esnext/types/index.d.ts", | ||
"module": "lib_es/index.js", | ||
"typings": "types/index.d.ts", | ||
"repository": { | ||
@@ -29,4 +29,4 @@ "type": "git", | ||
"dist/", | ||
"lib/", | ||
"lib_esnext/", | ||
"lib_cjs/", | ||
"lib_es/", | ||
"types/" | ||
@@ -39,8 +39,7 @@ ], | ||
"eslint": "eslint ./src --ext .js --fix", | ||
"build": "npm run build-universal && npm run build-ts && npm run build-cjs", | ||
"build": "npm run build-universal && npm run build-ts-es && npm run build-ts-cjs", | ||
"build-universal": "rollup -c config/rollup/dist/umd.js && rollup -c config/rollup/dist/es.js && copyfiles -f ./src/i18n/* ./dist/json", | ||
"build-es": "rollup -c config/rollup/module/es.js && rollup -c config/rollup/module/es-all.js", | ||
"build-cjs": "rollup -c config/rollup/module/cjs.js && rollup -c config/rollup/module/cjs-all.js", | ||
"build-ts": "tsc -d -p tsconfig.json --sourceMap --outDir lib_esnext --declarationDir types", | ||
"prepare-npm-package": "rimraf dist && rimraf lib && rimraf lib_esnext && rimraf dist && mkdir lib && copyfiles package.json README.md LICENSE ./lib && npm run build", | ||
"build-ts-es": "tsc -d -p tsconfig.json --sourceMap --outDir lib_es --declarationDir types", | ||
"build-ts-cjs": "tsc -d -p tsconfig.json --sourceMap --outDir lib_cjs -m CommonJS -t ES5 -d false", | ||
"prepare-npm-package": "rimraf dist && rimraf lib_cjs && rimraf lib_es && rimraf dist && npm run build", | ||
"test": "jest", | ||
@@ -47,0 +46,0 @@ "coverage": "jest --coverage", |
@@ -66,4 +66,4 @@ ## Welcome to Quran Meta Project | ||
|[Source code](https://github.com/quran-center/quran-meta/tree/master/src) in typescript | TS | | ||
| [Javascript code](https://github.com/quran-center/quran-meta/tree/master/lib_esnext) autotranspiled from TS as ES Next | ESNext | | ||
|[Javascript code](https://github.com/quran-center/quran-meta/tree/master/lib) autotranspiled from TS as CJS|ES5+CommonJS| | ||
| [Javascript code](https://github.com/quran-center/quran-meta/tree/master/lib_es) autotranspiled from TS as ES Next | ESNext | | ||
|[Javascript code](https://github.com/quran-center/quran-meta/tree/master/lib_cjs) autotranspiled from TS as CJS|ES5+CommonJS| | ||
||| | ||
@@ -70,0 +70,0 @@ **[distributions](https://github.com/quran-center/quran-meta/tree/master/dist) of library as**| | |
@@ -13,8 +13,21 @@ // Quran Meta | ||
Sajda, | ||
Surah | ||
Surah, | ||
} from "./types" | ||
export { | ||
AyahId, | ||
AyahNo, | ||
Page, | ||
Juz, | ||
SurahAyah, | ||
PageMeta, | ||
JuzMeta, | ||
SurahMeta, | ||
Sajda, | ||
Surah, | ||
} | ||
//export default QuranMeta; | ||
//------------------ Sura Data --------------------- | ||
export { suraNames as suraNamesEn } from "./i18n/sura.en" | ||
export { suraNames as suraNamesEn } from "./i18n/sura.en" | ||
export { suraNames as suraNamesRu } from "./i18n/sura.ru" | ||
@@ -114,3 +127,3 @@ | ||
SajdaList, | ||
ayaStringSplitter | ||
ayaStringSplitter, | ||
} | ||
@@ -117,0 +130,0 @@ |
import { meta } from "./const"; | ||
import { AyahId, AyahNo, Page, Juz, SurahAyah, PageMeta, JuzMeta, Sajda, Surah } from "./types"; | ||
import { AyahId, AyahNo, Page, Juz, SurahAyah, PageMeta, JuzMeta, SurahMeta, Sajda, Surah } from "./types"; | ||
export { AyahId, AyahNo, Page, Juz, SurahAyah, PageMeta, JuzMeta, SurahMeta, Sajda, Surah, }; | ||
export { suraNames as suraNamesEn } from "./i18n/sura.en"; | ||
@@ -13,3 +14,3 @@ export { suraNames as suraNamesRu } from "./i18n/sura.ru"; | ||
import { ayaStringSplitter } from "./ayaStringSplitter"; | ||
export { meta, SuraList, JuzList, HizbQuarterList, ManzilList, RukuList, PageList, SajdaList, ayaStringSplitter }; | ||
export { meta, SuraList, JuzList, HizbQuarterList, ManzilList, RukuList, PageList, SajdaList, ayaStringSplitter, }; | ||
/** | ||
@@ -16,0 +17,0 @@ * |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
590331
79
16289