1 | {
|
2 | "name": "react-stikky",
|
3 | "version": "0.1.12",
|
4 | "description": "",
|
5 | "main": "lib/index.js",
|
6 | "scripts": {
|
7 | "test": " cross-env NODE_ENV=test ava",
|
8 | "build": "babel src --out-dir lib",
|
9 | "precommit": "npm run build && lint-staged && git add -A"
|
10 | },
|
11 | "repository": {
|
12 | "type": "git",
|
13 | "url": "git+https://github.com/janryWang/react-propers.git"
|
14 | },
|
15 | "author": "janryWang",
|
16 | "license": "MIT",
|
17 | "bugs": {
|
18 | "url": "https://github.com/janryWang/react-propers/issues"
|
19 | },
|
20 | "homepage": "https://github.com/janryWang/react-propers#readme",
|
21 | "devDependencies": {
|
22 | "@babel/cli": "^7.0.0-beta.46",
|
23 | "@babel/core": "^7.0.0-beta.46",
|
24 | "@babel/plugin-proposal-class-properties": "^7.0.0-beta.46",
|
25 | "@babel/preset-env": "^7.0.0-beta.46",
|
26 | "@babel/preset-react": "^7.0.0-beta.46",
|
27 | "@babel/register": "^7.0.0-beta.46",
|
28 | "ava": "^1.0.0-beta.4",
|
29 | "cross-env": "^5.1.4",
|
30 | "enzyme": "^3.3.0",
|
31 | "enzyme-adapter-react-16": "^1.1.1",
|
32 | "husky": "^0.14.3",
|
33 | "lint-staged": "^4.3.0",
|
34 | "prettier": "^1.11.x",
|
35 | "react": "^16.3.2",
|
36 | "react-dom": "^16.3.2"
|
37 | },
|
38 | "lint-staged": {
|
39 | "src/*.js": [
|
40 | "prettier --write --tab-width 4 --no-semi",
|
41 | "git add"
|
42 | ],
|
43 | "dist/*.js": [
|
44 | "prettier --write --tab-width 4 --no-semi",
|
45 | "git add"
|
46 | ],
|
47 | "test.js": [
|
48 | "prettier --write --tab-width 4 --no-semi",
|
49 | "git add"
|
50 | ]
|
51 | },
|
52 | "ava": {
|
53 | "require": [
|
54 | "@babel/register"
|
55 | ],
|
56 | "files": [
|
57 | "test/**/*.spec.js",
|
58 | "test/*.spec.js"
|
59 | ],
|
60 | "babel": {
|
61 | "testOptions": {
|
62 | "babelrc": false,
|
63 | "presets": [
|
64 | [
|
65 | "@babel/preset-env",
|
66 | {
|
67 | "loose": true
|
68 | }
|
69 | ],
|
70 | "@babel/preset-react"
|
71 | ],
|
72 | "plugins": [
|
73 | "@babel/plugin-proposal-class-properties"
|
74 | ]
|
75 | }
|
76 | }
|
77 | },
|
78 | "dependencies": {
|
79 | "window-scroll": "^1.0.0"
|
80 | }
|
81 | }
|