-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathpackage.json
36 lines (36 loc) · 1.1 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
{
"private": true,
"description": "Development environment for the lib.",
"type": "module",
"scripts": {
"build:docs": "cd ./storybook && npm run build && cd .. && cp ./01.png ./docs",
"build:package": "rm -rf ./package && node ./scripts/build-package.cjs",
"build:patterns": "node ./scripts/build-patterns.cjs",
"build": "node ./scripts/build-src.cjs",
"lint": "npx eslint hyphen.js",
"start": "npm run watch",
"test": "jest",
"watch:package": "npx nodemon -w ./export-contract.js -w ./hyphen.js ./scripts/build-package.cjs",
"watch:src": "npx nodemon -w ./src ./scripts/build-src.cjs",
"watch": "npm run watch:src & npm run watch:package"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ytiurin/hyphen"
},
"license": "ISC",
"devDependencies": {
"all-contributors-cli": "^6.26.1",
"esbuild": "0.19.5",
"eslint": "^6.8.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
"nodemon": "^3.0.1",
"prettier": "^2.0.2"
},
"husky": {
"hooks": {
"pre-commit": "npm run build && npm run lint && npm run test"
}
}
}