UNPKG

2.48 kBJSONView Raw
1{
2 "name": "ineeda",
3 "version": "0.11.1",
4 "description": "Create stub objects from TypeScript interfaces!",
5 "main": "dist/src/index.js",
6 "typings": "dist/src/index.d.ts",
7 "repository": "phenomnomnominal/ineeda",
8 "author": "Craig Spence <craigspence0@gmail.com>",
9 "license": "MIT",
10 "scripts": {
11 "compile": "tsc",
12 "lint": "npm run lint:src && npm run lint:test",
13 "lint:src": "tslint -c tslint.json 'src/**/*.ts'",
14 "lint:test": "tslint -c tslint.json 'test/**/*.ts'",
15 "lint:fix": "npm run lint:src:fix && npm run lint:test",
16 "lint:src:fix": "tslint -c tslint.json 'src/**/*.ts' --fix",
17 "lint:test:fix": "tslint -c tslint.json 'test/**/*.ts' --fix",
18 "test:jest": "jest",
19 "test:karma": "karma start karma.conf.js",
20 "test:mocha": "nyc mocha './test/*.spec.ts'",
21 "build": "npm run compile && npm run lint && npm run test:jest && npm run test:karma && npm run test:mocha",
22 "build:ci": "npm run compile && npm run lint && npm run test:jest && npm run test:mocha",
23 "prepublishOnly": "rm -rf dist && npm run build"
24 },
25 "dependencies": {},
26 "devDependencies": {
27 "@types/bluebird": "3.0.37",
28 "@types/chai": "3.4.34",
29 "@types/jasmine": "2.5.40",
30 "@types/node": "7.0.0",
31 "@types/sinon": "1.16.35",
32 "@types/sinon-chai": "2.7.27",
33 "bluebird": "3.4.7",
34 "chai": "3.5.0",
35 "dedent": "^0.7.0",
36 "jasmine": "2.5.3",
37 "jest": "18.1.0",
38 "karma": "1.3.0",
39 "karma-chai": "0.1.0",
40 "karma-chrome-launcher": "2.0.0",
41 "karma-firefox-launcher": "^1.0.1",
42 "karma-jasmine": "1.1.0",
43 "karma-safari-launcher": "^1.0.0",
44 "karma-typescript": "2.1.6",
45 "mocha": "3.2.0",
46 "moment": "2.17.1",
47 "nyc": "^11.0.2",
48 "rxjs": "5.2.0",
49 "sinon": "1.17.7",
50 "sinon-chai": "2.8.0",
51 "ts-jest": "18.0.1",
52 "ts-node": "2.1.0",
53 "tslint": "^5.6.0",
54 "typescript": "^2"
55 },
56 "jest": {
57 "globals": {
58 "__TS_CONFIG__": "tsconfig.json"
59 },
60 "moduleFileExtensions": [
61 "ts",
62 "js"
63 ],
64 "transform": {
65 "\\.(ts)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
66 },
67 "testRegex": "/test/.*\\.spec\\.ts$"
68 },
69 "nyc": {
70 "include": [
71 "**/*.ts"
72 ],
73 "extension": [
74 ".ts"
75 ],
76 "require": [
77 "ts-node/register"
78 ],
79 "reporter": [
80 "text-summary",
81 "html",
82 "lcov"
83 ],
84 "report-dir": "./reports/coverage/",
85 "sourceMap": true,
86 "instrument": true
87 }
88}