-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
72 lines (72 loc) · 2.47 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
69
70
71
72
{
"name": "@prepair/basic-loader",
"version": "1.3.0",
"description": "David Walsh's super simple loader for loading image, CSS, and JavaScript files.",
"repository": {
"type": "git",
"url": "git+https://github.com/prepair/basic-loader.git"
},
"keywords": [
"loader",
"import"
],
"author": "Szabolcs Kurdi <[email protected]> (https://github.com/szkrd)",
"license": "MIT",
"bugs": {
"url": "https://github.com/prepair/basic-loader/issues"
},
"homepage": "https://github.com/prepair/basic-loader#readme",
"main": "lib/basic-loader.js",
"scripts": {
"lint": "eslint src",
"test": "cross-env NODE_ENV=test mocha --exit 'src/**/*.spec.js'",
"test:watch": "npm t -- --watch --reporter min",
"build": "shx rm -rf lib && cross-env MODULES=cjs babel --ignore **/*.spec.js --out-dir lib src && cross-env MODULES=amd babel --out-file lib/basic-loader-amd.js src/basic-loader.js",
"publish-test": "shx rm -rf docs && mkdir docs && shx cp -r e2e/* docs/ && shx mv docs/test.html docs/index.html && shx cp lib/basic-loader-amd.js docs/basic-loader-amd.js && shx sed -i s/..\\/lib/.\\//g docs/index.html",
"release": "npm run build && git status --porcelain && git checkout master && git pull origin master && standard-version && git push --follow-tags origin master && npm publish --access=public",
"prepare": "husky install"
},
"prettier": {
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"trailingComma": "es5",
"bracketSpacing": true,
"arrowParens": "always",
"endOfLine": "lf"
},
"lint-staged": {
"*.js": [
"eslint --cache --fix",
"prettier --write --ignore-unknown"
]
},
"devDependencies": {
"@babel/cli": "^7.14.3",
"@babel/core": "^7.14.3",
"@babel/preset-env": "^7.14.2",
"@babel/register": "^7.13.16",
"chai": "^4.3.4",
"cross-env": "^7.0.3",
"eslint": "^7.27.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-semistandard": "^15.0.1",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-standard": "^5.0.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"mocha": "^8.4.0",
"prettier": "^2.3.0",
"shx": "^0.3.3",
"sinon": "^11.1.1",
"sinon-chai": "^3.7.0",
"standard-version": "^9.3.0"
},
"dependencies": {}
}