Skip to content
Snippets Groups Projects
Commit 03194da6 authored by Eduardo L. Buratti's avatar Eduardo L. Buratti
Browse files

Use types from @types organization in npm instead of the typings tool

parent 50189272
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -13,3 +13,4 @@ ...@@ -13,3 +13,4 @@
/coverage /coverage
/typings /typings
/build /build
/dist
...@@ -4,9 +4,8 @@ ...@@ -4,9 +4,8 @@
"description": "BlenDB", "description": "BlenDB",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"postinstall": "typings install",
"start": "node index", "start": "node index",
"pretest": "tslint -s node_modules/tslint-stylish -t stylish src/**/*.ts test/**/*.ts", "lint": "tslint -s node_modules/tslint-stylish -t stylish src/**/*.ts test/**/*.ts",
"test": "ts-node node_modules/istanbul/lib/cli.js cover -x \"**/*.spec.ts\" -e .ts _mocha", "test": "ts-node node_modules/istanbul/lib/cli.js cover -x \"**/*.spec.ts\" -e .ts _mocha",
"show-coverage": "xdg-open coverage/lcov-report/index.html", "show-coverage": "xdg-open coverage/lcov-report/index.html",
"doc-api": "raml2html -i specs/blendb-api-v1.raml -o doc/api-v1-reference.html" "doc-api": "raml2html -i specs/blendb-api-v1.raml -o doc/api-v1-reference.html"
...@@ -18,18 +17,25 @@ ...@@ -18,18 +17,25 @@
"author": "Centro de Computação Científica e Software Livre (C3SL)", "author": "Centro de Computação Científica e Software Livre (C3SL)",
"license": "GPL-3.0", "license": "GPL-3.0",
"dependencies": { "dependencies": {
"express": "^4.14.0", "@types/chai": "^3.4.33",
"@types/d3": "^3.5.36",
"@types/express": "^4.0.33",
"@types/mocha": "^2.2.32",
"@types/pug": "^2.0.1",
"express": "^4.0.33",
"mississippi": "^1.2.0",
"node-uuid": "^1.4.7",
"osprey": "^0.3.2", "osprey": "^0.3.2",
"ts-node": "^1.2.3", "pug": "^2.0.0-beta6",
"typescript": "^1.8.10", "ts-node": "^1.3.0",
"typings": "^1.3.2" "typescript": "^2.0.3"
}, },
"devDependencies": { "devDependencies": {
"chai": "^3.5.0", "chai": "^3.4.33",
"istanbul": "1.1.0-alpha.1", "istanbul": "1.1.0-alpha.1",
"mocha": "^3.0.2", "mocha": "^3.1.0",
"raml2html": "^3.0.0", "raml2html": "^3.0.1",
"tslint": "^3.14.0", "tslint": "^3.15.1",
"tslint-stylish": "^2.1.0-beta" "tslint-stylish": "^2.1.0-beta"
} }
} }
{ {
"compilerOptions": { "compilerOptions": {
"pretty": true, "pretty": true,
"target": "es5", "target": "es6",
"module": "commonjs", "module": "commonjs",
"noImplicitAny": true "noImplicitAny": true,
"outDir": "dist/"
}, },
"exclude": [ "exclude": [
"node_modules" "node_modules"
], ],
"compileOnSave": false "compileOnSave": false,
"typeRoots": [
"node_modules/@types"
],
"types": [
"d3-force"
]
} }
{
"globalDependencies": {
"chai": "registry:dt/chai#3.4.0+20160601211834",
"express": "registry:dt/express#4.0.0+20160708185218",
"express-serve-static-core": "registry:dt/express-serve-static-core#4.0.0+20160817171221",
"mime": "registry:dt/mime#0.0.0+20160316155526",
"mocha": "registry:env/mocha#2.2.5+20160723033700",
"node": "registry:env/node#6.0.0+20160813135048",
"serve-static": "registry:dt/serve-static#0.0.0+20160606155157"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment