2
0
mirror of https://github.com/status-im/realm-js.git synced 2025-01-14 16:44:50 +00:00

Merge pull request from realm/add-typescript-compile-check

add typescript definition compilation checks on every test run
This commit is contained in:
blagoev 2017-09-13 15:07:21 +03:00 committed by GitHub
commit 876a289da1

@ -10,10 +10,12 @@
"needle": "^1.3.0",
"terminate": "^1.0.8",
"tmp": "^0.0.30",
"url-parse": "^1.1.7"
"url-parse": "^1.1.7",
"typescript": "^2.5.2"
},
"scripts": {
"test": "jasmine spec/unit_tests.js",
"test-sync-integration": "jasmine spec/sync_integration_tests.js"
"check-typescript" : "tsc --noEmit --alwaysStrict ./../lib/index.d.ts",
"test": "npm run check-typescript && jasmine spec/unit_tests.js",
"test-sync-integration": "npm run check-typescript && jasmine spec/sync_integration_tests.js"
}
}