-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 1.99 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
{
"name": "lux-toggle",
"version": "1.2.1",
"description": "A utility for creating toggleable items with JavaScript. Inspired by bootstrap's toggle utility. Implemented in vanillaJS in a functional style.",
"main": "dist/lux-toggle.js",
"repository": "[email protected]:JessChampion/lux-toggle.git",
"author": "Jess Champion <[email protected]>",
"license": "BSD 3-Clause",
"private": false,
"devDependencies": {
"babel-core": "^6.26.0",
"babel-jest": "^23.0.0-alpha.0",
"cross-env": "^5.2.0",
"eslint": "^4.18.2",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jasmine": "^2.9.3",
"eslint-plugin-jest": "^21.15.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"imagemin": "^6.0.0",
"jest": "^22.4.3",
"laravel-mix": "^2.1.14",
"stylelint": "^9.1.3",
"stylelint-config-standard": "^18.2.0"
},
"scripts": {
"build": "node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "yarn build --watch",
"lint": "yarn lint:js && yarn lint:style",
"lint:js": "eslint src/**/*.js tests/**/*.test.js --ignore-pattern tests/coverage/**/*.*",
"lint:style": "stylelint \"demo/scss/**/*.scss\"",
"test": "jest",
"test:coverage": "yarn test --coverage",
"deploy-demo": "git subtree push --prefix dist/demo origin gh-pages"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
],
"jest": {
"collectCoverageFrom": [
"<rootDir>/src/**/*.js"
],
"coverageDirectory": "<rootDir>/tests/coverage",
"moduleDirectories": [
"<rootDir>/node_modules"
],
"roots": [
"<rootDir>/tests"
],
"testEnvironment": "jsdom",
"transform": {
"^.+\\.js$": "babel-jest",
"^.+\\.test.js$": "babel-jest"
},
"verbose": true,
"testURL": "http://localhost/"
}
}