-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
60 lines (60 loc) · 1.91 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
{
"name": "mechanical-counter",
"version": "1.0.15",
"description": "mechanical counter for react built with framer-motion",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.module.js",
"unpkg": "./dist/index.umd.js",
"types": "./dist/index.d.ts",
"source": "./src/index.tsx",
"exports": {
"require": "./dist/index.cjs",
"default": "./dist/index.modern.js"
},
"scripts": {
"prebuild": "rimraf dist/",
"build": "microbundle -i src/index.tsx --jsx React.createElement",
"release": "npm run build && npm version patch && npm publish",
"postrelease": "rm README.md && cp README.template.md README.md && sed -i \"\" \"s/__version__/$(git tag --sort=taggerdate | tail -1)/g\" README.md && git add README.md && git commit -m 'release' && git push --follow-tags",
"postbuild": "rimraf dist/vertical*",
"fix": "prettier --write 'src/**/*.tsx'",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"chromatic": "chromatic --exit-zero-on-changes"
},
"keywords": [
"react",
"framer",
"framer-motion",
"ticker",
"mechanical counter",
"mechanical",
"counter"
],
"author": "bitttttten <[email protected]>",
"license": "ISC",
"repository": "https://github.com/bitttttten/mechanical-counter",
"devDependencies": {
"@babel/core": "^7.15.8",
"@storybook/addon-actions": "^6.3.12",
"@storybook/addon-essentials": "^6.3.12",
"@storybook/addon-links": "^6.3.12",
"@storybook/react": "^6.3.12",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"babel-loader": "^8.2.3",
"chromatic": "^6.0.4",
"eslint": "^8.0.1",
"framer-motion": "^4.1.17",
"microbundle": "^0.14.1",
"prettier": "^2.4.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2"
},
"peerDependencies": {
"framer-motion": "^4.1.17",
"react": "^17.0.2"
}
}