1 | {
|
2 | "name": "rollpkg-example-package",
|
3 | "version": "0.4.2",
|
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.1",
|
37 | "lint-staged": "^10.5.4",
|
38 | "pre-commit": "^1.2.2",
|
39 | "react": "file:demo/node_modules/react",
|
40 | "rollpkg": "^0.4.2",
|
41 | "typescript": "^4.1.5"
|
42 | },
|
43 | "peerDependencies": {
|
44 | "react": ">=16.8"
|
45 | },
|
46 | "pre-commit": "lintStaged",
|
47 | "lint-staged": {
|
48 | "src/**/*": [
|
49 | "eslint",
|
50 | "prettier --write --ignore-unknown"
|
51 | ]
|
52 | },
|
53 | "prettier": "rollpkg/configs/prettier.json",
|
54 | "eslintConfig": {
|
55 | "extends": [
|
56 | "./node_modules/rollpkg/configs/eslint"
|
57 | ]
|
58 | },
|
59 | "jest": {
|
60 | "preset": "rollpkg"
|
61 | }
|
62 | }
|