Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.5 KB
/
Copy pathpackage.json
File metadata and controls
43 lines (43 loc) · 1.5 KB
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
{
"name": "measure-perf",
"version": "0.1.1",
"description": "Measure the execution time of a script in JS",
"main": "dist/measure-perf.cjs.js",
"module": "lib/index.js",
"types": "lib/index.d.ts",
"bugs": "https://github.com/matejlauko/measure-perf/issues",
"repository": {
"type": "git",
"url": "https://github.com/matejlauko/measure-perf.git"
},
"author": "Matej Lauko <lauko.m@gmail.com>",
"license": "MIT",
"files": ["dist", "lib"],
"keywords": ["measure", "performance", "perf"],
"homepage": "https://github.com/matejlauko/measure-perf",
"scripts": {
"build": "npm run build:ts && npm run build:cjs && npm run build:dev && npm run build:prod",
"build:cjs": "rollup -c rollup.config.js --environment BUILD:commonjs",
"build:dev": "rollup -c rollup.config.js --environment BUILD:development",
"build:prod": "rollup -c rollup.config.js --environment BUILD:production",
"build:ts": "tsc",
"clean": "rimraf lib dist",
"lint": "tslint 'src/*.ts'",
"prepublishOnly": "npm run test && npm run clean && npm run build",
"prettier":
"prettier --print-width 80 --trailing-comma es5 --single-quote --write \"src/*.ts\"",
"test": "jest",
"test:watch": "jest --watch"
},
"devDependencies": {
"@types/jest": "^21.1.2",
"jest": "^21.2.1",
"prettier": "^1.7.4",
"rimraf": "^2.6.2",
"rollup": "^0.50.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^2.0.1",
"tslint": "^5.7.0",
"typescript": "^2.5.3"
}
}