-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.23 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
{
"name": "micro-fps",
"version": "0.1.2",
"description": "A super lightweight fps meter, with near zero overhead",
"main": "dist/cjs/index.js",
"browser": "dist/umd/microFps.js",
"module": "dist/es/index.js",
"jsxnext:main": "dist/es/index.js",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=5.3.0"
},
"scripts": {
"prepublish": "npm run build",
"precommit": "npm run lint:test",
"prepush": "npm run lint:test",
"release": "release-it",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"lint": "npm run lint:eslint && npm run lint:flow",
"lint:eslint": "eslint src/*.js",
"lint:flow": "flow --color always",
"test": "jest",
"test:coverage": "jest --coverage ",
"test:watch": "clear && jest --watch",
"lint:test": "npm run lint && npm run test:coverage",
"build": "npm run lint:test && npm run build:cjs && npm run build:es && npm run build:umd",
"build:watch": "clear && rimraf dist/cjs && cross-env BABEL_ENV=cjs babel -w src --out-dir dist/cjs",
"build:es": "rimraf dist/es && cross-env BABEL_ENV=es babel src --out-dir dist/es",
"build:cjs": "rimraf dist/cjs && cross-env BABEL_ENV=cjs babel src --out-dir dist/cjs",
"build:umd": "rimraf dist/umd && cross-env BABEL_ENV=es rollup -c & cross-env BABEL_ENV=es NODE_ENV=production rollup -c"
},
"keywords": [],
"author": "Victor ([email protected])",
"license": "MIT",
"repository": "victornpb/micro-fps",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-transform-flow-strip-types": "^6.18.0",
"babel-preset-es2015": "^6.24.1",
"coveralls": "^2.13.1",
"cross-env": "^5.0.5",
"eslint": "^4.19.1",
"eslint-config-devine": "^1.7.1",
"eslint-config-google": "^0.9.1",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-jest": "^21.15.0",
"flow-bin": "^0.102.0",
"husky": "^0.14.3",
"jest": "^24.8.0",
"release-it": "^2.8.5",
"rimraf": "^2.6.1",
"rollup": "^0.39.2",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-bundle-size": "^1.0.1",
"rollup-plugin-commonjs": "^8.2.0",
"rollup-plugin-node-resolve": "^4.2.4",
"rollup-plugin-uglify": "^2.0.1"
}
}