-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
68 lines (68 loc) · 2.45 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
61
62
63
64
65
66
67
68
{
"name": "studyjs",
"version": "5.0.3",
"author": "Jacob Kelley <[email protected]>",
"homepage": "https://github.com/dollarshaveclub/study",
"description": "A client side A/B tester",
"license": "MIT",
"main": "build/study.js",
"module": "build/study.es.js",
"unpkg": "build/study.min.js",
"repository": {
"type": "git",
"url": "git://github.com/dollarshaveclub/study.git"
},
"scripts": {
"build": "rollup --config configs/rollup.config.js",
"build-es5": "NODE_ENV=production npx babel src -s inline -d build/es5",
"chore:delete-changelog-branch": "if git show-ref --quiet refs/heads/chore-changelog; then git branch -D chore-changelog; fi",
"chore:branch": "git checkout -b chore-changelog",
"chore:changelog": "conventional-changelog -p eslint -i CHANGELOG.md -s -r 0",
"chore:setup-next-work": "git checkout master && npm run chore:delete-changelog-branch",
"chore:pr": "git add . && git commit -m '[chore] updates changelog' --no-verify && git push origin chore-changelog -f",
"chore:setup-changelog": "git checkout master && git pull",
"chore": "npm run chore:delete-changelog-branch && npm run chore:branch && npm run chore:changelog && npm run chore:pr && npm run chore:setup-next-work",
"postpublish": "git tag $npm_package_version && git push origin --tags && npm run chore",
"prepublish": "npm run build-es5",
"prepush": "npm run build && npm test",
"lint": "eslint . --fix",
"lint:ci": "eslint .",
"test": "jest",
"pages": "git push -f origin master:gh-pages"
},
"dependencies": {
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/runtime": "^7.2.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"@babel/preset-stage-2": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "22.4.3",
"chai": "^4.2.0",
"conventional-changelog-cli": "2.0.11",
"eslint": "5.6.0",
"eslint-config-dollarshaveclub": "3.1.1",
"husky": "1.3.1",
"jest": "22.4.3",
"rollup": "^1.1.0",
"rollup-plugin-babel": "^4.1.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-uglify": "^6.0.0"
},
"files": [
"build"
],
"jest": {
"testURL": "http://localhost/",
"collectCoverage": true,
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js)$"
]
}
}