UNPKG

2.85 kBJSONView Raw
1{
2 "name": "ana-loader",
3 "version": "0.2.1",
4 "description": "A webpack loader for analyzing dependencies. Support TypeScript, JSX, Vue, AMD, CJS, ESM, CSS, Sass, Scss, Less and Stylus.",
5 "license": "MIT",
6 "repository": "zjffun/ana-loader",
7 "author": "zjffun",
8 "homepage": "https://github.com/zjffun/ana-loader",
9 "bugs": "https://github.com/zjffun/ana-loader/issues",
10 "main": "./dist/index.js",
11 "engines": {
12 "node": ">= 10.13.0"
13 },
14 "scripts": {
15 "start": "npm run build -- -w",
16 "clean": "del-cli dist example/dist",
17 "prebuild": "npm run clean",
18 "build": "cross-env NODE_ENV=production babel src -d dist --copy-files",
19 "commitlint": "commitlint --from=master",
20 "security": "npm audit",
21 "lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different",
22 "lint:js": "eslint \"src/**/*.js\" --cache .",
23 "lint": "npm-run-all -l -p \"lint:**\"",
24 "test:only": "cross-env NODE_ENV=test jest",
25 "test:watch": "npm run test:only -- --watch",
26 "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
27 "pretest": "npm run lint",
28 "test": "npm run test:coverage",
29 "prepare": "npm run build",
30 "release": "standard-version",
31 "defaults": "webpack-defaults",
32 "prepublishOnly": "yarn build && yarn test"
33 },
34 "files": [
35 "dist/",
36 "lib/",
37 "index.js"
38 ],
39 "peerDependencies": {
40 "webpack": "^4.0.0 || ^5.0.0"
41 },
42 "dependencies": {
43 "@dependents/detective-less": "^4.1.0",
44 "detective-amd": "^4.0.1",
45 "detective-cjs": "^4.0.0",
46 "detective-es6": "^3.0.0",
47 "detective-html": "^0.0.2",
48 "detective-postcss": "^6.1.0",
49 "detective-sass": "^5.0.3",
50 "detective-scss": "^4.0.3",
51 "detective-stylus": "^2.0.1",
52 "detective-typescript": "^9.0.0",
53 "loader-utils": "^3.2.1",
54 "schema-utils": "^4.0.0",
55 "vue-template-compiler": "^2.7.14"
56 },
57 "devDependencies": {
58 "@babel/cli": "^7.19.3",
59 "@babel/core": "^7.20.2",
60 "@babel/preset-env": "^7.20.2",
61 "@commitlint/cli": "^17.3.0",
62 "@commitlint/config-conventional": "^17.3.0",
63 "@webpack-contrib/defaults": "^6.3.0",
64 "@webpack-contrib/eslint-config-webpack": "^3.0.0",
65 "babel-jest": "^29.3.1",
66 "codecov": "^3.8.3",
67 "commitlint-azure-pipelines-cli": "^1.0.3",
68 "cross-env": "^7.0.3",
69 "del": "^7.0.0",
70 "del-cli": "^5.0.0",
71 "eslint": "^8.28.0",
72 "eslint-config-prettier": "^8.5.0",
73 "eslint-plugin-import": "^2.26.0",
74 "husky": "^8.0.2",
75 "jest": "^29.3.1",
76 "jest-junit": "^15.0.0",
77 "lint-staged": "^13.0.4",
78 "memfs": "^3.4.12",
79 "npm-run-all": "^4.1.5",
80 "prettier": "^2.8.0",
81 "standard-version": "^9.5.0",
82 "webpack": "^5.75.0"
83 },
84 "keywords": [
85 "webpack"
86 ],
87 "jest": {
88 "testPathIgnorePatterns": [
89 "example"
90 ]
91 }
92}