-
Notifications
You must be signed in to change notification settings - Fork 56
/
package.json
92 lines (92 loc) · 6.24 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "teambition-sdk",
"version": "0.12.94",
"description": "Front-End SDK for Teambition",
"main": "./index.js",
"typings": "./index.d.ts",
"scripts": {
"build_all": "rm -rf dist && mkdir dist && mkdir dist/bundle && npm run build_es6 && npm run build_cjs && npm run build_bundle && npm run build_mock && npm run build_mock_cjs && npm run build_test && npm run build_socket",
"build_bundle": "rm -rf dist/bundle/tbsdk.umd.js && ts-node --type-check ./tools/tasks/bundle.sdk.ts",
"build_cjs": "rm -rf dist/cjs && tsc src/index.ts -m commonjs --outDir dist/cjs --sourcemap --inlineSources --target ES5 -d --diagnostics --pretty --strict --noUnusedLocals --noUnusedParameters --experimentalDecorators --suppressImplicitAnyIndexErrors --moduleResolution node --importHelpers --noEmitHelpers --lib es5,es2015.iterable,es2015.collection,es2015.promise,es2015.core,dom,es2015.proxy",
"build_es6": "rm -rf dist/es6 && tsc src/index.ts -m es2015 --outDir dist/es6 --sourcemap --inlineSources --target ES2015 -d --diagnostics --pretty --strict --noUnusedLocals --noUnusedParameters --experimentalDecorators --suppressImplicitAnyIndexErrors --moduleResolution node --importHelpers --noEmitHelpers --lib es5,es2015.iterable,es2015.collection,es2015.promise,es2015.core,dom,es2015.proxy",
"build_mock": "rm -rf dist/mock-es6 && tsc mock/index.ts -m es2015 --outDir dist/mock-es6 --sourcemap --inlineSources --target ES5 -d --diagnostics --pretty --strict --noUnusedLocals --noUnusedParameters --experimentalDecorators --suppressImplicitAnyIndexErrors --moduleResolution node --lib es5,es2015.iterable,es2015.collection,es2015.promise,es2015.core,dom,es2015.proxy && ts-node --type-check ./tools/tasks/bundle.mock.ts",
"build_mock_cjs": "rm -rf dist/mock-cjs && tsc mock/index.ts -m commonjs --outDir dist/mock-cjs --sourcemap --inlineSources --target ES5 -d --diagnostics --pretty --strict --noUnusedLocals --noUnusedParameters --experimentalDecorators --suppressImplicitAnyIndexErrors --moduleResolution node --lib es5,es2015.iterable,es2015.collection,es2015.promise,es2015.core,dom,es2015.proxy",
"build_socket": "rm -rf dist/bundle/tbsdk.socket.js && tsc ./src/SocketApp.ts ./src/teambition.ts -m commonjs --outDir dist/socket --sourcemap --inlineSources --target ES5 -d --diagnostics --pretty --experimentalDecorators --suppressImplicitAnyIndexErrors --moduleResolution node --lib es5,es2015.iterable,es2015.collection,es2015.promise,es2015.core,dom,es2015.proxy && ts-node --type-check ./tools/tasks/bundle.socket.ts",
"build_test": "rm -rf spec-js && tsc test/app.ts -m commonjs --sourcemap --inlineSources --outDir spec-js --target ES2015 --diagnostics --pretty --experimentalDecorators --suppressImplicitAnyIndexErrors --types \"node,chai,sinon,sinon-chai\" --moduleResolution node",
"check_circular_dependencies": "npm run build_cjs && madge ./dist/cjs --circular",
"copy_files": "cp README.md package.json ./dist/cjs/",
"cover": "export TZ=\"America/Chicago\"; npm run build_test && rm -rf ./coverage && nyc --reporter=html --reporter=lcov --exclude=node_modules --exclude=spec-js/test --exclude=spec-js/mock --exclude=spec-js/src/sockets/SocketClient.js tman --mocha spec-js/test/app.js",
"lint": "tslint ./src/**/*.ts ./mock/**/*.ts ./test/*.ts ./test/apis/**/*.ts ./test/mock/**/*.ts ./test/utils/**/*.ts",
"publish_sdk": "npm run build_all && npm run copy_files && ts-node tools/tasks/npm-publish.ts ./dist/cjs",
"publish_all": "npm run publish_sdk && ts-node --type-check ./tools/tasks/publish.ts && cp -r ./dist/mock-cjs/** ./.tmp/mock && cp -r ./dist/socket/** ./.tmp/socket && npm publish .tmp/mock/ && npm publish .tmp/socket/",
"test": "npm run lint && npm run check_circular_dependencies && npm run cover",
"preversion": "ts-node tools/tasks/version.ts preversion",
"watch": "export TZ=\"America/Chicago\"; npm run watch_test & ts-node ./tools/tasks/test.ts $!",
"watch_cjs": "tsc src/index.ts -m commonjs --outDir dist/cjs --sourcemap --inlineSources --target ES5 -d --diagnostics --pretty --experimentalDecorators --strict --noUnusedLocals --noUnusedParameters --suppressImplicitAnyIndexErrors --moduleResolution node --skipLibCheck -w --lib es5,es2015.iterable,es2015.collection,es2015.promise,es2015.core,dom,es2015.proxy",
"watch_test": "tsc test/app.ts -m commonjs --outDir spec-js --sourcemap --inlineSources --target ES2015 --diagnostics --pretty --experimentalDecorators --suppressImplicitAnyIndexErrors --types \"node,chai,sinon,sinon-chai\" --moduleResolution node --skipLibCheck -w"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/teambition/teambition-sdk.git"
},
"keywords": [
"teambition",
"sdk",
"teambition-sdk"
],
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/teambition/teambition-sdk/issues"
},
"homepage": "https://github.com/teambition/teambition-sdk#readme",
"peerDependencies": {
"reactivedb": "~0.10.2",
"rrule": "2.2.0",
"rxjs": "^5.2.0",
"snapper-consumer": "^1.3.6",
"tslib": "^1.9.0"
},
"devDependencies": {
"@types/chai": "^4.0.4",
"@types/lodash": "^4.14.74",
"@types/lovefield": "^2.1.1",
"@types/node": "^9.3.0",
"@types/sinon": "^4.0.0",
"@types/sinon-chai": "^2.7.29",
"@types/uuid": "^3.4.3",
"atob": "^2.1.2",
"chai": "^4.1.2",
"coveralls": "^3.0.0",
"engine.io-client": "^3.1.0",
"fetch-mock": "^5.12.2",
"google-closure-compiler-js": "^20180506.0.0",
"isomorphic-fetch": "^2.2.1",
"jsonrpc-lite": "^1.3.0",
"madge": "^3.3.0",
"mock-require": "^3.0.3",
"moment": "^2.18.1",
"node-watch": "^0.5.8",
"nyc": "^11.2.1",
"reactivedb": "~0.10.2",
"rollup": "^0.60.5",
"rollup-plugin-alias": "^1.3.1",
"rollup-plugin-commonjs": "^8.4.1",
"rollup-plugin-node-resolve": "^3.0.0",
"rrule": "2.2.0",
"rxjs": "^5.4.3",
"rxjs-marbles": "^2.4.1",
"semver": "^5.5.0",
"sinon": "^4.0.0",
"sinon-chai": "^2.14.0",
"snapper-consumer": "^1.3.6",
"teambition-sdk-mock": "^0.6.8",
"tman": "^1.7.2",
"ts-node": "^7.0.1",
"tslib": "^1.9.3",
"tslint": "^5.11.0",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^3.1.6",
"uuid": "^3.3.2"
}
}