UNPKG

1.14 kBJSONView Raw
1{
2 "name": "mockdate",
3 "version": "3.0.5",
4 "description": "A JavaScript mock Date object that can be used to change when \"now\" is.",
5 "main": "lib/mockdate.js",
6 "types": "lib/mockdate.d.ts",
7 "dependencies": {},
8 "devDependencies": {
9 "mocha": "7.1.2",
10 "rollup": "2.42.4",
11 "rollup-plugin-typescript2": "0.30.0",
12 "should": "13.2.3",
13 "typescript": "3.9.3"
14 },
15 "scripts": {
16 "build": "npm run build:js && npm run build:types",
17 "build:types": "tsc -t esnext --moduleResolution node -d --emitDeclarationOnly --outFile lib/mockdate.d.ts src/mockdate.ts",
18 "build:js": "rollup -c rollup.config.js",
19 "test": "npm run build && mocha",
20 "prepare": "npm run build",
21 "prepublishOnly": "npm run test"
22 },
23 "repository": {
24 "type": "git",
25 "url": "https://github.com/boblauer/MockDate.git"
26 },
27 "keywords": [
28 "date",
29 "mock",
30 "test"
31 ],
32 "author": "Bob Lauer <rlauer@gmail.com>",
33 "license": "MIT",
34 "bugs": {
35 "url": "https://github.com/boblauer/MockDate/issues"
36 },
37 "homepage": "https://github.com/boblauer/MockDate",
38 "spm": {
39 "main": "lib/mockdate.js"
40 }
41}