Commit cd60ba2b authored by Élodie Thiéblin's avatar Élodie Thiéblin

[package] Prepare for npmjs publication

parent e2be19edf7ce
......@@ -2,28 +2,19 @@
"name": "@logilab/libview",
"version": "0.5.0",
"description": "Library for view specification and definition for a data browser.",
"scripts": {
"clean": "rm -rf build",
"format": "tsfmt -r",
"build": "tsfmt --verify && tslint -p . -c tslint.json 'src/**/*.ts*' && webpack",
"build:production": "NODE_ENV=production tsfmt --verify && tslint -p . -c tslint.json 'src/**/*.ts*' && webpack",
"test": "mocha --reporter spec --require ts-node/register src/**/*.test.ts",
"linter": "tslint -p . -c tslint.json 'src/**/*.ts*' --fix",
"doc": "typedoc --mode modules --out build/docs --exclude '**/*.test.ts' 'src/'"
},
"main": "./build/index.js",
"types": "./build/lib/index.d.ts",
"repository": {
"type": "hg",
"url": "https://bitbucket.org/laurentw/logilab-cubicweb-client"
"type": "mercurial",
"url": "https://forge.extranet.logilab.fr/open-source/LDBrowser/libview"
},
"keywords": [
"DataBrowser",
"Typescript"
],
"author": "LOGILAB <contact@logilab.fr>",
"license": "LGPL-3.0",
"dependencies": {},
"files": [
"build"
],
"main": "./build/index.js",
"types": "./build/lib/index.d.ts",
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/mocha": "^5.2.5",
......@@ -42,5 +33,17 @@
"webpack": "^4.20.2",
"webpack-cli": "^3.1.1",
"xhr-mock": "^2.4.1"
}
},
"scripts": {
"clean": "rm -rf build",
"format": "tsfmt -r",
"build": "tsfmt --verify && tslint -p . -c tslint.json 'src/**/*.ts*' && webpack",
"build:production": "NODE_ENV=production tsfmt --verify && tslint -p . -c tslint.json 'src/**/*.ts*' && webpack",
"prepublishOnly": "NODE_ENV=production webpack",
"test": "mocha --reporter spec --require ts-node/register src/**/*.test.ts",
"linter": "tslint -p . -c tslint.json 'src/**/*.ts*' --fix",
"doc": "typedoc --mode modules --out build/docs --exclude '**/*.test.ts' 'src/'"
},
"author": "LOGILAB <contact@logilab.fr>",
"license": "LGPL-3.0"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment