-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 2.64 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": "core-flux",
"version": "2.0.0",
"description": "½kb functional flux utility. Control the flow of state data between subscribers.",
"main": "lib/core-flux.cjs.js",
"module": "lib/core-flux.es.js",
"browser": "dist/core-flux.js",
"type": "module",
"scripts": {
"prepare": "husky install",
"test": "jest",
"test:watch": "jest --watch",
"watch": "rollup -c rollup.config.demo.js -w",
"build": "BABEL_ENV=build rollup -c",
"build:publish": "BABEL_ENV=publish rollup -c",
"prettier:check": "prettier --config .prettierrc.json --check",
"prettier:write": "prettier --config .prettierrc.json --write",
"eslint:check": "eslint -c .eslintrc.json",
"release": "dotenv release-it -- --ci"
},
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/eslint-parser": "^7.21.3",
"@babel/preset-env": "^7.21.4",
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@release-it/conventional-changelog": "^7.0.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-terser": "^0.4.1",
"babel-jest": "^29.5.0",
"dotenv-cli": "^7.2.1",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-jest": "^27.2.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lint-staged": "^13.2.1",
"paopu": "^0.1.1",
"prettier": "^3.0.0",
"release-it": "^16.1.2",
"rollup": "^3.20.3"
},
"engines": {
"node": ">=10.0.0",
"npm": ">=6.0.0"
},
"keywords": [
"flux",
"state",
"state manager",
"global state",
"javascript",
"reducer",
"action",
"actions",
"store"
],
"files": [
"lib/*.{js,map}",
"dist/*.{js,map}",
"core-flux.js"
],
"repository": {
"type": "git",
"url": "git+https://github.com/geotrev/core-flux.git"
},
"bugs": {
"url": "https://github.com/geotrev/core-flux/issues"
},
"homepage": "https://github.com/geotrev/core-flux",
"author": "George Treviranus <geowtrev@gmail.com>",
"license": "MIT",
"lint-staged": {
"src/**/*.js": [
"npm run prettier:check",
"npm run eslint:check"
],
"*.json": [
"npm run prettier:write"
]
},
"release-it": {
"git": {
"commitMessage": "chore: release v${version}"
},
"github": {
"release": true
},
"hooks": {
"before:init": "npm test",
"after:bump": "rm -rf lib dist && npm run build:publish && paopu"
},
"plugins": {
"@release-it/conventional-changelog": {
"infile": "CHANGELOG.md",
"preset": "angular"
}
}
}
}