nepali-date-2.0 0.1.7 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/cjs/index.d.ts +1 -0
  2. package/package.json +2 -2
package/cjs/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ declare module "nepali-date-2.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nepali-date-2.0",
3
- "version": "0.1.7",
3
+ "version": "0.2.0",
4
4
  "description": "A Nepali date library for extracting dates based on Bikram Sambat (B. S.) and perform converstions with Gregorian calendar (A. D.)",
5
5
  "main": "cjs/index.js",
6
6
  "files": [
@@ -24,7 +24,7 @@
24
24
  "test": "jest",
25
25
  "lint": "eslint src",
26
26
  "clean": "rimraf cjs",
27
- "build": "babel src -d cjs",
27
+ "build": "babel src -d cjs && copy src\\index.d.ts cjs\\index.d.ts",
28
28
  "prepare": "npm run lint && npm run clean && npm run build"
29
29
  },
30
30
  "bin": {