-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
91 lines (91 loc) · 2.65 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
{
"name": "toxic-utils",
"version": "0.4.4",
"description": "utils",
"main": "lib/index.js",
"module": "lib/index.mjs",
"jsnext:main": "lib/index.mjs",
"browser": "lib/index.browser.js",
"scripts": {
"test": "jest --coverage && node env-node-check",
"start": "jest --coverage --watch",
"lint": "tslint -c ./tslint.json 'src/**/*.ts' --fix && eslint ./ --fix",
"precommit": "npm run lint",
"prepush": "npm run test",
"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",
"doc": "documentation readme src/index.js --section=doc --github=true --project-version=true",
"tsc": " tsc --outDir ./ts-out",
"preversion": "npm test",
"version": "npm run build && git add -A lib",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/toxic-johann/toxic-utils.git"
},
"keywords": [
"utils"
],
"author": "toxic-johann",
"license": "MIT",
"bugs": {
"url": "https://github.com/toxic-johann/toxic-utils/issues"
},
"homepage": "https://github.com/toxic-johann/toxic-utils#readme",
"devDependencies": {
"@babel/core": "^7.6.3",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.6.3",
"@types/lodash-es": "^4.17.3",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-preset-es2015-rollup": "^3.0.0",
"documentation": "^12.1.2",
"eslint": "^6.5.1",
"eslint-config-egg": "^7.5.1",
"eslint-plugin-jest": "^23.0.0",
"husky": "^3.0.8",
"jest": "^24.9.0",
"rollup": "^1.23.1",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-includepaths": "^0.2.3",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript": "^1.0.1",
"rollup-plugin-uglify": "^6.0.3",
"ts-jest": "^24.1.0",
"tslint": "^5.20.0",
"typescript": "^3.6.3"
},
"jest": {
"modulePaths": [
"src"
],
"moduleDirectories": [
"node_modules"
],
"transform": {
"^.+\\.tsx?$": "ts-jest",
".*": "babel-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"transformIgnorePatterns": [
"/node_modules/(?!lodash-es).+\\.js$"
]
},
"dependencies": {
"lodash-es": "^4.17.15"
}
}