-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 3.14 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "whatenvis",
"version": "2.0.8",
"description": "browser & os detection",
"repository": "https://github.com/jokemmy/whatenvis.git",
"keywords": [
"whatenvis"
],
"main": "lib/browser.js",
"module": "es/browser.js",
"authors": [
"ZhenyuXu <25213322@qq.com> (https://github.com/jokemmy)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/jokemmy/whatenvis/issues"
},
"files": [
"dist",
"lib",
"es",
"node.js"
],
"scripts": {
"dev": "cross-env BABEL_ENV=umd NODE_ENV=development rollup -w -c ./examples/rollup.config.dev.js",
"clean": "rimraf lib dist es coverage",
"test": "cross-env BABEL_ENV=commonjs jest",
"test:watch": "npm test -- --watch",
"test:cov": "npm test -- --coverage",
"build": "npm run clean && npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es --ignore 'src/**/*.test.js'",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib --ignore 'src/**/*.test.js'",
"build:umd": "cross-env BABEL_ENV=umd NODE_ENV=development rollup -c -f umd -o dist/whatenvis.js",
"build:umd:min": "cross-env BABEL_ENV=umd NODE_ENV=production rollup -c -f umd -o dist/whatenvis.min.js",
"prepare": "npm run clean && npm run lint && npm test && npm run build",
"lint": "eslint --ext .js src",
"precommit": "npm run lint"
},
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-proposal-decorators": "^7.4.4",
"@babel/plugin-proposal-do-expressions": "^7.2.0",
"@babel/plugin-proposal-export-default-from": "^7.2.0",
"@babel/plugin-proposal-export-namespace-from": "^7.2.0",
"@babel/plugin-proposal-function-bind": "^7.2.0",
"@babel/plugin-proposal-function-sent": "^7.2.0",
"@babel/plugin-proposal-json-strings": "^7.2.0",
"@babel/plugin-proposal-logical-assignment-operators": "^7.2.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
"@babel/plugin-proposal-numeric-separator": "^7.2.0",
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
"@babel/plugin-proposal-pipeline-operator": "^7.3.2",
"@babel/plugin-proposal-throw-expressions": "^7.2.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-import-meta": "^7.2.0",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"babel-eslint": "^10.0.1",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-import": "^1.11.0",
"cross-env": "^5.2.0",
"eslint": "^5.16.0",
"eslint-config-promise": "^2.0.2",
"eslint-plugin-import": "^2.17.2",
"jest": "^24.8.0",
"rimraf": "^2.6.3",
"rollup": "^1.11.3",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-node-resolve": "^4.2.4",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-serve": "^1.0.1",
"rollup-plugin-uglify": "^6.0.2"
}
}