-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 2.9 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "es-fullscreen",
"version": "0.4.0-beta.9",
"description": "fullscreen library written in es6",
"main": "lib/index.js",
"module": "lib/index.mjs",
"jsnext:main": "lib/index.mjs",
"browser": "lib/index.browser.js",
"types": "lib/index.d.ts",
"scripts": {
"test": "jest --coverage && node env-node-check",
"unit": "jest --watch --coverage",
"lint": "tslint -c ./tslint.json 'src/**/*.ts' --fix && eslint . --fix",
"eslint": "eslint . --fix",
"start": "tsc --outDir ./ts-out -w & rollup -c build/rollup.config.dev.js -w",
"build": "npm run tsc && tsc --emitDeclarationOnly true --outDir ./lib && npm run b-common && npm run b-es && npm run b-umd && npm run b-min",
"b-common": "rollup -c build/rollup.config.common.js",
"b-es": "rollup -c build/rollup.config.es.js",
"b-umd": "rollup -c build/rollup.config.umd.js",
"b-min": "rollup -c build/rollup.config.min.js",
"tsc": "tsc --outDir ./ts-out",
"ie": "rollup -c demo/base/rollup.config.js -w",
"preversion": "npm test",
"version": "npm run build && git add -A lib",
"postversion": "git push && git push --tags"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm t"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/toxic-johann/es-fullscreen.git"
},
"keywords": [
"fullscreen",
"es",
"js"
],
"author": "toxic-johann",
"license": "MIT",
"bugs": {
"url": "https://github.com/toxic-johann/es-fullscreen/issues"
},
"homepage": "https://github.com/toxic-johann/es-fullscreen#readme",
"dependencies": {
"@babel/runtime": "^7.4.5",
"lodash-es": "^4.17.11",
"toxic-predicate-functions": "^0.4.1"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@types/lodash-es": "^4.17.3",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.8.0",
"eslint": "^6.0.0",
"eslint-config-egg": "^7.4.1",
"eslint-plugin-jest": "^23.0.0",
"husky": "^3.0.0",
"jest": "^24.8.0",
"rollup": "^1.13.1",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-livereload": "^1.0.0",
"rollup-plugin-node-resolve": "^5.0.1",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-serve": "^1.0.1",
"rollup-plugin-uglify": "^6.0.2",
"toxic-utils": "^0.4.3",
"ts-jest": "^24.0.2",
"tslint": "^5.17.0",
"typescript": "^3.5.1"
},
"jest": {
"modulePaths": [
"src"
],
"moduleDirectories": [
"node_modules"
],
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.jsx?$": "babel-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"transformIgnorePatterns": [
"/node_modules/(?!lodash-es).+\\.js$"
]
}
}