1 | {
|
2 | "name": "@plexus-interop/common",
|
3 | "version": "0.3.5",
|
4 | "types": "dist/main/src/index.d.ts",
|
5 | "main": "dist/main/src/index.js",
|
6 | "description": "Common functionality for Plexus Interop Web",
|
7 | "license": "Apache-2.0",
|
8 | "scripts": {
|
9 | "prebuild": "yarn lint && trash dist",
|
10 | "build": "yarn build:main",
|
11 | "postbuild": "yarn test",
|
12 | "build:main": "tsc -p tsconfig.json",
|
13 | "build:watch": "tsc -w -p tsconfig.json",
|
14 | "lint": "tslint src/**/*.ts",
|
15 | "unit": "jest --coverage",
|
16 | "test": "yarn unit"
|
17 | },
|
18 | "dependencies": {
|
19 | "@types/loglevel": "^1.4.29",
|
20 | "@types/long": "^3.0.31",
|
21 | "core-js": "^2.5.3",
|
22 | "loglevel": "^1.4.1",
|
23 | "loglevel-plugin-prefix": "^0.5.3",
|
24 | "long": "^3.2.0",
|
25 | "reflect-metadata": "^0.1.10",
|
26 | "tslib": "^1.6.0",
|
27 | "typescript-collections": "1.2.3"
|
28 | },
|
29 | "devDependencies": {
|
30 | "@types/chai": "^4.0.2",
|
31 | "@types/jest": "^22.0.0",
|
32 | "@types/mocha": "^2.2.41",
|
33 | "@types/node": "^7.0.5",
|
34 | "chai": "^4.1.0",
|
35 | "jest": "23.1.0",
|
36 | "karma": "^1.7.0",
|
37 | "path": "^0.12.7",
|
38 | "sinon": "^2.4.1",
|
39 | "trash": "^4.1.0",
|
40 | "trash-cli": "^1.4.0",
|
41 | "ts-mockito": "2.0.2",
|
42 | "tslint": "5.8.0",
|
43 | "typescript": "2.6.1",
|
44 | "yarn": "1.4.0"
|
45 | },
|
46 | "jest": {
|
47 | "testEnvironment": "node",
|
48 | "setupTestFrameworkScriptFile": "<rootDir>/setup-jasmine.js",
|
49 | "moduleFileExtensions": [
|
50 | "ts",
|
51 | "js"
|
52 | ],
|
53 | "testRegex": ".+/dist/main/tests/.+spec.js$",
|
54 | "coverageDirectory": "coverage",
|
55 | "collectCoverageFrom": [
|
56 | "dist/main/src/**/*.js",
|
57 | "!dist/main/src/gen/**/*.js",
|
58 | "!src/*.d.ts",
|
59 | "!src/**/*.d.ts",
|
60 | "!src/**/*.spec.ts"
|
61 | ]
|
62 | }
|
63 | }
|