UNPKG

1.58 kBJSONView Raw
1{
2 "name": "rollpkg-example-package",
3 "version": "0.5.7",
4 "description": "Example package for Rollpkg",
5 "main": "dist/rollpkg-example-package.cjs.js",
6 "module": "dist/rollpkg-example-package.esm.js",
7 "types": "dist/index.d.ts",
8 "sideEffects": false,
9 "scripts": {
10 "build": "rollpkg build",
11 "watch": "rollpkg watch",
12 "prepublishOnly": "npm run lint && npm test && npm run build",
13 "lint": "eslint src",
14 "test": "jest",
15 "test:watch": "jest --watchAll",
16 "coverage": "npx live-server coverage/lcov-report",
17 "lintStaged": "lint-staged"
18 },
19 "files": [
20 "dist"
21 ],
22 "repository": {
23 "type": "git",
24 "url": "git+https://github.com/rafgraph/rollpkg-example-package.git"
25 },
26 "keywords": [
27 "rollpkg"
28 ],
29 "author": "Rafael Pedicini <rafael@rafgraph.dev>",
30 "license": "MIT",
31 "bugs": {
32 "url": "https://github.com/rafgraph/rollpkg-example-package/issues"
33 },
34 "homepage": "https://github.com/rafgraph/rollpkg-example-package#readme",
35 "devDependencies": {
36 "@types/react": "^17.0.3",
37 "lint-staged": "^10.5.4",
38 "pre-commit": "^1.2.2",
39 "react": "file:demo/node_modules/react",
40 "rollpkg": "^0.5.7",
41 "typescript": "^4.2.3"
42 },
43 "peerDependencies": {
44 "react": ">=16.8"
45 },
46 "pre-commit": "lintStaged",
47 "lint-staged": {
48 "(src/**/*|demo/src/**/*)": [
49 "prettier --write --ignore-unknown"
50 ]
51 },
52 "prettier": "rollpkg/configs/prettier.json",
53 "eslintConfig": {
54 "extends": [
55 "./node_modules/rollpkg/configs/eslint"
56 ]
57 },
58 "jest": {
59 "preset": "rollpkg"
60 }
61}